Reboot a virtual machine by shutting it down, and starting it again after applying pending changes. More information: https://pve.proxmox.com/pve-docs/qm.1.html.
qm reboot vm_id
qm reboot --timeout 10 vm_id