Both Windows 10 and Windows 11 have a bug that causes your PC to restart when you choose the Update and shut down option.
A small but long‑standing bug in Windows’ shutdown process has been resolved, ending years of frustration for users.