Both Windows 10 and Windows 11 have a bug that causes your PC to restart when you choose the Update and shut down option.
Microsoft fixes Windows’ long-standing “Update and shut down” bug in Windows 11. Update KB5067036 stops unwanted restarts, ...