The shutdown command does exactly what it sounds like, it shuts down the computer.
You can also delay a shutdown with the following command: shutdown /s /t nn where nn would be the number of seconds to wait before shutdown proceeds. For example, to shutdown after 60 seconds, the command would be shutdown /s /t 60
If you wanted the computer to reboot, you can do this with the command: shutdown /r /t nn where nn is the number of seconds to wait before restarting the computer.
If the computer is in the process of counting down to a shutdown or restart, yo ucan abort the countdown with the command: shutdown /a