![Shortcut to close all windows](https://cdn1.cdnme.se/5447227/9-3/screenshot_2_64e62946ddf2b36521902657.jpg)
![shortcut to close all windows shortcut to close all windows](https://i.stack.imgur.com/TXmfc.png)
![shortcut to close all windows shortcut to close all windows](https://i.stack.imgur.com/0e3Om.jpg)
The close button may be missing for various reasons. On Apple macOS, the close button is a red "X" button in the window's top-left corner, as shown in the image.
![shortcut to close all windows shortcut to close all windows](https://i.ytimg.com/vi/7nDcC0k9Ptg/maxresdefault.jpg)
Clicking the X for the Document1 tab closes only the Document1 document window, but leaves the TextPad program open. The close program button is a red box shown in the example below, with another X for the Document1 tab. Clicking any "X" below the top-right corner "X" closes that specific document, file, tab, or window in the program, but not the entire program. If a program has multiple documents, files, tabs, or windows open, clicking the "X" at the top-right corner (top-left on macOS) closes everything.
![Shortcut to close all windows](https://cdn1.cdnme.se/5447227/9-3/screenshot_2_64e62946ddf2b36521902657.jpg)