Sometimes we accidentally click shutdown button unintentionally, later we realize that we need to browse the web or work with particular application again, can we stop Windows from shutting down after clicking shutdown button yes we can! before the explorer.exe program closes in the background we can stop Windows from Shutting down.

Just press Win key + R to open run command  and type shutdown –a and press Enter.Since Explorer program closes in a less time we need to create shortcut by right clicking on the desktop click New>Shortcut>type shutdown –a click next to finish.

shutdown command

Whenever we accidentally click shutdown button we can click that shortcut on the desktop to prevent or stop windows from shutting down.