So this issue was closed without actually resolving the issue because the reporter decided to uninstall ALL .NET versions from their system which doesn't resolve the issue that you cannot uninstall .NET 5.0.0 specifically without removing all of them.
#165
Can we reopen this issue and fix or use this issue to fix it with as it is a horrible experience for someone on a Mac as it is already a pain in the arse to get this script installed and runnable due to the latest Mac OS security crap then to go through all that to get the error stating you cannot do what you went through all that to do.
The latest official uninstall tool following these instructions below trigger this issue on MacOS 10.15.7.
https://docs.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool?tabs=macos