With the Quit menu you can quit applications, force them to quit, and force them to quit and automatically relaunch them.
Click the red button in the menu panel or menu bar or, if you have enabled it, press the Quit menu keyboard shortcut.
Use the menu panel to display menus
Show Application Wizard in the menu bar
Use keyboard shortcuts to display menus
To quit an application, choose it from the Quit menu.
To quit an application and keep (or close) its windows, hold down the Command and Option keys and choose it from the Quit menu. Windows are kept if Resume is disabled for the chosen application or system-wide. Windows are closed if Resume is enabled for the chosen application or system-wide.
By default, Resume is disabled system-wide. To enable Resume system-wide on macOS 13 or later, disable the “Close windows when quitting an application” option in the Desktop & Dock pane of System Settings. On macOS 12 or 11, deselect the “Close windows when quitting an app” checkbox in the General pane of System Preferences.
Disable or enable window restoration for specific applications
To force an application to quit, hold down the Option key and choose the application from the Quit menu.
To force an application to quit and automatically relaunch it, hold down the Control key and choose the application.
Warning: By forcing an application to quit, you may lose unsaved changes.
Quit menu items are described below. To add or remove items from the Quit menu, open Application Wizard, choose Window > Menus, and click Quit Menu in the sidebar.