Time for action – shutting down your VM
Now it's time to stop whining and start learning how to shut down your virtual machine...
Make sure you close all the applications inside your virtual machine, open the Mozilla Firefox Web browser, 'uncapture' your keyboard and mouse so that you can move to the VirtualBox main menu, and select the Machine | Close option.
The Close Virtual Machine dialog will show up with three choices for shutting down your virtual machine. Select the Save the machine state option, and click on OK to continue:
VirtualBox will show the following dialog before shutting down the virtual machine:
Once your virtual machine's state is saved, it will shut down automatically, and you'll be returned to the VirtualBox main screen. Also, your UbuntuVB virtual machine status indicator will change from Powered Off to Saved. If you start it again, it will continue exactly where it was left off, with the Mozilla Firefox web browser window open.
Start your UbuntuVB virtual machine again...