
It is sometimes needed to restart the Finder or Doc in macOS. Usually you can do this with the following command in the terminal:
> killall Finder
Some times you may get the following response “No matching processes belonging to you were found”. If that is the case, another command you may want to try in your terminal is the following
> launchctl stop com.apple.Dock.agent
Enjoy!