Normally when you log into a Windows PC via RDP, Windows disables the Restart and Shutdown commands from the Start menu. This is a pain, especially if you want to force a reboot.
This post has the instructions on how to reboot a PC over RDP. Here is the command that I use:
shutdown /r /f /m \\