Here is the shutdown command lines you can run from windows.

Shutdown local system: shutdown /s /t ShutdownDelay /l /f
(example shutdown /r /t 60)

Restart local system: shutdown /r /t ShutdownDelay /l /f

Cancel shutdown: shutdown /a

Shutdown remote system: shutdown /s /t \\system name