Check here, for more details: https://www.c-sharpcorner.com/article/how-to-cancel-automatic-shutdown-in-windows-10/
There are several ways to do that
First way to cancel automatic shutdown in windows 10Open Run by pressing window key + rtype shutdown -a and press ok button
Another way by using powershell /command promptOpen Powershell or command prompt type shutdown -a. hit enter button