I have a Virtualbox VM running Ubuntu that was started by Vagrant, on an OSX host.
At some point, my ssh session to the guest stopped responding. I tried vagrant halt
from a terminal window on the host (OS X). The shutdown process seemed to also hang and shutting down the Oracle VM VirtualBox Manager doesn't shut down the VMs themselves.
When running desktop guest OSes, closing the GUI window presents several options for shutting down the guest, but I don't know how to do the equivalent when the guest is running headless.
Is there a way in either Vagrant or VirtualBox to force the running VM to shutdown?