vboxmanage-unregistervm
Unregister a virtual machine (VM).
TLDR
Unregister an existing VM
$ VBoxManage unregistervm [uuid|vm_name]
Delete hard disk image files, all saved state files, VM logs, and XML VM machine files
$ VBoxManage unregistervm [uuid|vm_name] --delete
Delete all files from the VM
$ VBoxManage unregistervm [uuid|vm_name] --delete-all