Automatic hiding of the taskbar upon entry or exit from Immersive Mode is disabled for all applications by default. Suppose the Alt+F4 keyboard shortcut is set to its default behavior. In that case, the shortcut closes the focused application even if the application is in Immersive Mode and then displays the previously hidden taskbar.