What does Cmd+W do?
In macOS Sonoma, Cmd+W means: Close the current window.
Last verified: 2026-10-04 (latest recorded check on at least one row; rows without their own date remain pending).
Where this shortcut applies
| App | Platform | What it does |
|---|---|---|
| macOS Sonoma | macOS | Close the current window Latest recorded check: 2026-10-04 · Source |
| macOS Sonoma | macOS | Close the current Terminal tab Verification pending |
| macOS Sonoma | macOS | Close the current browser tab Verification pending |
| Google Chrome | macOS | Close the current tab Latest recorded check: 2026-10-04 · Source |
| Zoom | Platform not independently verified | Leave or end meeting on macOS Verification pending |
| Safari | Platform not independently verified | Close the current tab Verification pending |
| Safari | Platform not independently verified | Close the current tab Verification pending |
| Arc Browser | Platform not independently verified | Close the current tab (Arc archives it rather than destroying it) Verification pending |
Full shortcut pages
Frequently asked questions
- What does Cmd+W do?
- In macOS Sonoma, Cmd+W means: Close the current window.
- Does this shortcut work the same way in every app?
- No. The listed contexts include macOS Sonoma, Google Chrome, Zoom, Safari, Arc Browser. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
- What should I use on a Mac?
- Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been independently verified, open the linked application reference and check its documented context before relying on it.