To restart a computer through Remote Desktop, you can run a command line with optional switches to shut down the computer:
To shut down, enter: shutdown
To reboot, enter: shutdown –r
To log off, enter: shutdown –l