In this short and sweet tutorial video, I've shown you how you can set up or schedule an automatic shutdown timer on windows 11.
Here's the command prompt:
For Shutdown: shutdown -s -t (Time in seconds)
Don't use brackets
For Cancelling shutdown timer: shutdown -a