I don’t like my OS doing things or adding things without my permission as much as the next person. As a life-long Windows user, that little pop-up telling me to restart my PC has gotten on my nerves ...
You can always use the Shutdown /s /t 60 command and create a desktop shortcut to delay the shutdown of your Windows 11/10 computer by (in this case, 60 secs) or make it shut down at a particular time ...