title: How to detach vmdk using vboxmanage cli
body: <p>I have my sandbox created using vboxmanage cli tool which created vmdk file. </p>
  
  <p>I converted it from .vmdk to .vdi, as i wanted to compress it. then i attached this newly created .vdi file.</p>
  
  <p>Now i want to detach the vmdk file as i don't want it any more.
  Can you please suggest me what should be the command for the same?</p>
  
  <p>List of my HDDs are:</p>
  
  <pre><code>$ vboxmanage list hdds
  UUID:           f3b90783-abe7-4549-91aa-39aa6161f103
  Parent UUID:    base
  State:          created
  Type:           normal (base)
  Location:       /home/ankit/VirtualBox VMs/asr-vm/asr-sandbox-3.5.0-lb1404x64-disk1.vmdk
  Storage format: VMDK
  Capacity:       65536 MBytes
  
  UUID:           1b9a4eff-f1bd-4c4e-ae48-8f11b8003244
  Parent UUID:    base
  State:          created
  Type:           normal (base)
  Location:       /home/ankit/VirtualBox VMs/asr-vm/asr-sandbox-3.5.0-lb1404x64-disk1.vdi
  Storage format: VDI
  Capacity:       65536 MBytes
  </code></pre>