Table of Contents
Save open files before shutting down. In Windows, press Windows key + D to show the desktop, then Alt + F4 to open the shutdown dialog. On a Mac, the Apple menu provides the safest shutdown command; a keyboard shortcut can quit apps and shut down, but unsaved documents may prompt you to save.





Shut down Windows with the keyboard
- Save your work and close any dialogs that need a response.
- Press Windows key + D to move to the desktop.
- Press Alt + F4. In the Shut Down Windows dialog, choose Shut down from the list if it is not already selected.
- Press Enter to confirm.
On many Windows 10 and 11 systems, Windows key + X, then U, then U also selects Shut down. Menu shortcuts can vary with Windows version and focus; if the sequence does not work, use the desktop dialog above. Do not press Alt+F4 while an unsaved app is active unless you intend to close that app.
Shut down a Mac with the keyboard
Save documents, then use the Apple menu and choose Shut Down. On Macs with a power button or supported media-eject key, Control-Option-Command-Power (or the corresponding Eject key on older keyboards) quits apps and shuts down. Unsaved documents may trigger save prompts. If the shortcut does not apply to your keyboard, use the Apple menu.
About older Windows shortcuts
The original screenshots include menus from older Windows versions. Windows 7 and XP are no longer current support targets; their menu labels and key sequences may not match today’s systems.
Do not hold the power button to shut down normally. Use it only when the computer is completely unresponsive, because a forced power-off can lose unsaved work.
Reader Comments 0
Sign in with email or Google to join the discussion.