open /System/Library/CoreServices/Finder.app
The Finder will open and things should be back to normal again. If the Finder still doesn’t launch, you may need to reboot your Mac to get everything back in order.
Sort of technology related, but other stuff too
open /System/Library/CoreServices/Finder.app