Ugh, Windows 10 updates are the worst. There should just be an option to only do updates by selected “update and shut down/restart” in the shut down menu, without ever having the computer shut down on its own.
I think maybe that option is in settings.