How to kill an unresponsive Vagrant instance

I just tried to follow the instructions on VVV to install a WordPress development environment, but was not lucky. The ssh couldn’t connect and so even $ vagrant destroy could not complete.

It turns out you can kill an instance from VirtualBox like this:

– ~/dev/wp/vvv (master branch)
$ VBoxManage list vms
"vvv_default_1412003846637_15289" {ef88b2f4-6de3-41e6-9e59-f2a780c6d952}

– ~/dev/wp/vvv (master branch)
$ VBoxManage controlvm vvv_default_1412003846637_15289 poweroff
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%