Reboot or Restart Mikrotik From Terminal - MikroTik Script RouterOS
How to Restart or Reboot Mikrotik From Terminal CLI
/system reboot