Log out, sleep, restart, or shut down your Mac
You can log out or put your Mac to sleep if you plan to use it later. At any time, you can restart or shut down your Mac.
Log out
On your Mac, choose Apple menu > Log Out.
If you don’t want the app windows you currently have open to reopen when you log back in, deselect “Reopen windows when logging back in.”
If your Mac is set up for multiple users, other users can log in after you log out.
Sleep
On your Mac, do any of the following:
Choose Apple menu > Sleep.
Press and hold the power button until you see the restart, sleep, or shut down dialog, then click Sleep, or press S (or use the Touch Bar).
To put a portable Mac to sleep, just close the display.
To wake your Mac, press the Space bar, click the mouse or trackpad, or open the display.
For security, you can set an option to require a password after waking your Mac. You may be able to unlock your Mac with your Apple Watch or use Touch ID instead of entering your password.
Restart
On your Mac, do any of the following:
Choose Apple menu > Restart.
Press and hold the power button until you see options, then click Restart or press R (or use the Touch Bar).
If the pointer freezes on the screen or your Mac becomes unresponsive, press and hold Control-Command while you press the power button to force a restart.
Important: If you force a restart, you may lose unsaved changes in open documents.
If you don’t want the app windows you currently have open to reopen when you restart your Mac and sign in, deselect “Reopen windows when logging back in.”
Shut down
On your Mac, do any of the following:
Choose Apple menu > Shut Down.
If you don’t want the app windows you currently have open to reopen when you restart your Mac and sign in, deselect “Reopen windows when logging back in.”
Press and hold the power button until you see the restart, sleep, or shut down dialog, then click Shut Down, or press Return.
If you don’t want the app windows you currently have open to reopen when you restart your Mac and sign in, deselect “Reopen windows when logging back in.”
If your Mac won’t shut down, press and hold the power button for 6 seconds to force a shutdown.
Important: If you force a shutdown, you may lose unsaved changes in open documents.
A Mac is completely shut down when there is a black screen; some computers also don’t show an active power light or have any fan or drive noise.
Always shut down your Mac before opening the case to install additional memory or other devices inside the computer. You may also need to shut down before connecting or unplugging certain peripheral devices. If you are unsure, refer to the documentation that came with the device.
You don’t have to shut down your Mac when connecting or disconnecting cables, such as USB, FireWire, Thunderbolt, telephone, microphone, headphone, or Ethernet.
Important: If you have a portable Mac, wait for it to shut down completely before closing the display. If you close the display while the Mac is shutting down, it may not shut down properly and may start up more slowly the next time you turn it on.