Every system has a Command Prompt, which is also known as ‘cmd‘. We can also reboot the computer through ‘cmd’ by following the below-given steps:
1) Open Command Prompt on your computer either by searching directly on the search tab or pressing ‘Windows + R’ keys together on the keyboard. The Run box will open. Type cmd on it and press the ‘Enter’ key, as shown below:

2) When the cmd will open, type the ‘shutdown /r‘ command to it. Press the ‘Enter’ key. A snapshot is shown below:

3) The computer will first get rebooted and will start again. It is because the ‘/r’ indicates that it is the reboot command and will reboot the system.
These are the three possible ways to reboot a computer system.