Make sure you don’t have any data left in on the virtual machine’s hard disk.
Close the window, select Power Off the machine.
Select from the menu Machine > Remove…
Select Delete all files.