Shutdown is a Windows command line tool that shuts down the PC. With the /r flag, the Shutdown command will restart the PC.
Wikipedia
To shut down or power off a computer is to remove power from a computer's main components in a controlled way. After a computer is shut down, main components such as CPUs, RAM modules and hard disk drives are powered down, although some internal components, such as an internal clock, may retain power.