Sometime, “reboot”  command not working, and system restart just half way running, especially when in ssh. This is command to force reboot Linux System, similar to press reset at hardware –

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger