If ever you have logged in to a Windows computer over a Remote Desktop Connection using RDP, you know that there is typically no shutdown option.
In order to resolve this, you can run
shutdown -s -t 1
which will tell Windows to shutdown safely (the -s) within a time frame of 1 second (-t 1)