Hello ,
I’m here to help you in resolving your issue
1: Press Win + R, type cmd, and press Enter to open the Command Prompt.
Run below command which tells Windows to abort the shutdown process, and this will stop any scheduled shutdown or restart that’s in progress.
shutdown /a
2: If above step doesn't work, then check in Task Scheduler
> Press Win + R, type taskschd.msc, and press Enter to open Task Scheduler.
> Go to Task Scheduler Library on the left side.
> Look through the list of tasks for any that are related to shutting down your computer
> Right-click on such tasks and select Delete or Disable
After trying above steps, please reach out to me if you have any doubts or issues
Help others by sharing your experience! Click “Yes” if this solution worked for you or “No” if it didn’t.