Troubleshooting
Generated By:
HostMyApple

10 Ways to Restart/Shutdown Your Mac

Today I want to show you a few different ways you can restart or shutdown your Mac. Listed below are 10 methods you can use based on the status of your Mac. A few of the approaches for shutting down or restarting may be preferred in most situations, whereas some of the methods are better to use when your Mac becomes unresponsive.


Traditional Restart/Shutdown Options

  • The most popular way to restart and shut down your Mac are in the Apple menu. This options will close each program as safely as possible, allowing you to save documents and settings, and quitting them only when they are ready. If an application can not be stopped this will halt the restart/shutdown process.


  • Hold the power button for 3-5 seconds, this will reveal a power menu panel. You can also select any of these options from the Apple Menu. This approach will execute a standard Shutdown/Restart procedure, which is also fairly gentle on running programs. Lastly, you can also hold the power button until the system powers off to perform a “Hard Shutoff“.


Alternate Methods Utilizing The Terminal Application


  • This command will execute a restart on your Mac instantaneously. You can also replace the “-r” with an “-h” (shutdown) the system instead of restarting it. Lastly, you can also change the “now” to a numerical value to indicate seconds until the shutdown or restart will take place (ex: sudo shutdown -r 24).


  • This command will force programs to quit instead of stopping for a busy process within an application; in order to initiate a Restart. Alongside, this option is beneficial to use if the Apple Menu is nonfunctional.


  • This command will force programs to quit instead of stopping for a busy process within an application; in order to initiate a Shutdown. Alongside, this option is beneficial to use if the Apple Menu is nonfunctional.


  • This Terminal-Based Apple Script command allows you to execute the standard Restart, which can be preformed in the Apple Menu.




  • This Terminal-Based Apple Script command allows you to execute the standard Shutdown, which can be preformed in the Apple Menu.


Rebooting with FileVault


  • If you have FileVault enabled on your remote Mac, you will definitely run into an issue where the system will restart but then it will still need to be unlocked before the OS X can load. Consequently, without OS X loaded, there will be no way to interact with your system and control it. This issue can also be seen if you use Screen Sharing. Utilize the sudo command above to reboot any FileVault-enable Mac and it will resume without requiring a unlock first.

Scheduling Options

  • Scheduling options allow you to set a specific time and day to shutdown or restart your Mac. Navigate to “System Preferences -> Energy Saver -> Schedule…” to locate your Scheduled Options. This option is optimal for managing security and running schedule maintenance tasks for various items. Understand this setting could also interrupt your workflow if you forget about it.
  • In order to have your Mac consistently shutdown on a specific day, you will need to use the “repeat” option for the “pmset” command. The screenshot above will have the Mac shutdown at midnight every day (note that the times in these commands are in 24-hour format).



  • sudo pmset repeat shutdown MTWRFSU 00:00:00



More From Blog

You Might Also Like

Troubleshooting
The Ultimate Fix for macOS Keychain issues!
Read More
How To
Simple Steps for Setting Up L2TP VPN macOS Sierra
Read More
How To
How to change Xcode derived data and archive directory locations
Read More