First off, you may ask in what circumstances you will need to restart your windows right away without saving anything. It could be helpful when the computer is compromised by malware that is running in the memory. An immediate shutdown without damaging anything further could save the day.
If an emergency happens like this, a hidden power option called Emergency Restart could be super helpful.
Press Ctrl + Alt + Del on your keyboard.

Hold down the Control key and click the Power icon on the right bottom of the screen.

Click OK and the system will restart right away without bothering to save anything.
Apparently, the Emergency restart is nothing new. It’s been there since Windows 7, believe it or not.
Of course, you can always press and hold down the physical Power button on your computer for more than 5 seconds.
You can also use the command line shutdown.
shutdown /s /t 1
It gives the computer a 1-second chance before shutting everything down.
The nice thing about using the command line is that you can shut down any remote computers on the same network.
shutdown /s /t 1 /m \\computername
Also, anything mentioned above can be used as a method to shut down or restart on a computer that somehow cannot be shut down or rebooted.
Nice, never heard of this before.