Terminal Hacks - Force macOS to Shut Down

Force Shut Down

Open Terminal: Finder > Applications > Utilities

In Terminal, type or paste the following…

shutdown -r now

(return)


Force Shut Down (sudo)

If the above command fails to initiate the Mac's shut down process, place the word sudo (super user do) in front to switch to administrative root access.

Open Terminal: Finder > Applications > Utilities

In Terminal, type or paste the following…

sudo shutdown -r now

(return) (enter Mac password) (return)

::TIP:: if you know which application is causing the issue then: click on > Force Quit... (on the top menu bar), select the offending application and click on the Force Quit button. Once the application has closed you should then be able to shut down.

Originally posted 1o November, 2021.