If you want to restart/reboot your Android device connected over adb shell, you can do the the same using “adb reboot” command from Linux/Windows host machine.
The Simple “adb reboot” command just restarts your Android mobile/device. Android also supports other options as,
Only Restarts your Android device from host.
Restarts the android device into recovery mode.
Restarts the android device into bootloader mode.
Restarts into recovery and automatically starts sideload mode.
sideload-auto-reboot is the same as “adb reboot sideload” but reboots after sideloading.