vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Destroying VM and associated drives…
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["unregistervm", "71cc684f-d03a-4369-af9c-ac199d7bf9b7", "--delete"]

Stderr: VBoxManage: error: Cannot unregister the machine 'CnC_default_1643660523119_45689' while it is locked
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 152 of file VBoxManageMisc.cpp


killall -9 VBoxHeadless && vagrant destroy