Why can't Finder be closed using command+q? [closed]
You can close all windows of an application (including Finder) with ⌘+⌥+w.
You can add a quit option to the Finder by running:
defaults write com.apple.finder QuitMenuItem -bool YES && killall Finder
Considering Finder is responsible for the desktop icons, quitting it rather pointless, but have it!
You can use cmd + alt + w to close All windows.