The reboot command allows you to properly restart the VyOS instance. Without any modifier, the command is executed immediately.
Syntax
vyos@vyos-rtr:~$ reboot
You can also use one of the available modifiers to delay the command:
<Enter> Execute the current command
at Poweroff at a specific time
cancel Cancel a pending poweroff
in Reboot in X minutes
now Poweroff the system without confirmation
The reboot now will not prompt for confirmation.