Shutdown and reboot the system. More information: https://keith.github.io/xcode-man-pages/shutdown.8.html.
shutdown -h now
shutdown -s now
shutdown -r now
shutdown -r "+{{5}}"
shutdown -h {{1300}}
shutdown -r {{4205101130}}