To reboot a Windows host you need the SeShutDownPrivilege privilege - which is generally common. Additionally, it can be either enabled or disabled - when you use whoami /priv it usually shows as disabled, just because the current process doesn’t use it. You can then perform such reboot with shutdown /r /t 0.
Sometimes this still gives the Access is denied. error. Even if the privilege is enabled, shutdown policy can block the privileged user from reseting the host.