When you turn off macOS, either from the Apple menu or via hotkeys, you get a confirmation dialog asking if you want to shut down the system and if you want to reopen apps and windows when you restart. The confirmation prompt is not useless, but if you do not want to interact with it every time you turn off the system, you can skip the MacOS shutdown prompt.
Skip Closed Query
Since there are two ways to shut down macOS, ie from the Apple menu and via the hot keys, we'll show you how to skip the MacOS closing prompt with both methods.
To shut down your Mac from the Apple menu, open it and hold down the Option key. When you hold down the Options key, you will notice that ellipses after both the Restart and Shutdown options disappear. With the option key still down, click Restart or Shut down to start the process without any message being displayed.
If you want to turn off your Mac via keyboard shortcuts, but you don't want to run into the confirmation prompt, use the following hotkey:
Command + Option + Control + Eject
The Eject key should be at the top of other media control keys, but it is quite possible that the keyboard does not have this key. It is normal for some MacBooks that the key is completely absent. In this case, replace the eject key with the power button and perform the following hotkey:
Command + Option + Control + Power
The power key is the key to turning on your MacBook.
If you want to restart your Mac via keyboard shortcuts, but skip the query you get, use this shortcut.
Control + Command + Eject
And if the eject key is absent on the keyboard, use;
Control + Command + Power
These hot keys have been around for a long time and they will work even if you do not use the latest version of macOS. It is also worth mentioning that the option key is quite useful when you want to skip these extra system messages. The questions are there to help you remember to save work, including. If you do not get any of them, try holding down the Option key when performing a command that normally results in a message being displayed. It is possible that the key will direct the command directly instead of asking you to confirm something.