Alt+F4 (Close Window)
Close the active window, or open the shutdown dialog on the desktop.
Step-by-step
- Press Alt+F4 to close the current app or window
- With no window focused, Alt+F4 on the desktop opens the Shutdown dialog
- In a browser, it closes the entire browser window
Reference: support.microsoft.com