How to Close a Previous Window on Windows and macOS

Learn easy ways to close a previous window using shortcuts or buttons on Windows and macOS. Save work before closing to avoid data loss.

Published

Video transcript

To close a previous window, you can usually click the 'X' button located at the top-right corner if you're on Windows, or the top-left corner for macOS. Alternatively, pressing 'Alt + F4' on Windows or 'Command + W' on macOS will close the current window. Remember to save any work before closing to avoid data loss.

Questions and answers

  1. What is the shortcut to close a window on Windows?

    Press 'Alt + F4' to quickly close the current window on Windows.

  2. How do I close a window on macOS using the keyboard?

    Press 'Command + W' to close the active window on macOS.

  3. Where is the close button located on Windows and macOS windows?

    On Windows, the close button is at the top-right corner; on macOS, it is at the top-left corner of the window.

  4. Should I save my work before closing a window?

    Yes, always save your work before closing a window to prevent any data loss.