Yep my work PC only likes to restart. So I "shut down" and walk away.
For me though it has bitlocker on the drive so even if it restarts.. if I don't put in my code it turns off.
Modern problems... Etc
But TIL about the bug.. I thought it was just me. Thanks!