Image Source - Twitter

Windows ‘Update and Shutdown’ Command Glitch Frustrates Users, Triggering Annoyance

Another potential reason could be the accumulation of updates over time. If users have not installed updates regularly, a large number of updates may need to be installed at once, requiring a restart to complete the installation. In such cases, the ‘Update and Shutdown’ command might be overridden by the need for a restart to install the updates.