It's also possible it took that time (a reboot/restart) to install a Windows 10 or 11 update...I've worked on several in the last year that exhibited that behavior.
Windows has always been secretive and not give much visual feedback on occasions and can pick the worst time to install the update. And it WILL go to sleep in the middle of installing an update.....I know,pretty stupid, right?
Laptops seem to have this problem more than desktops also.
On customer's PC's I change the default 5 minute sleep time to 1 hour, solves a few problems for them.