NOTE: This process only works on dynamically allocated virtual disks. If you're not sure, launch VirtualBox and go to File > Virtual Media Manager. Select the virtual drive and view the properties
Create backups of virtual disks before attempting these steps