On Mac:

which virtualbox 
sudo PATH/VirtualBox restart

Edit: Previous solution assumes that VirtualBox is started with the system while following is more generic:

which virtualbox 
sudo "PATH//VirtualBoxStartup.sh" restart
 
Done!!
Submitted 2 years 10 months ago by ddkits-admin.