You can shut down the guest operating system in your virtual machine.

You can use several methods to shut down your virtual machine's operating system. This is the preferred method.

Select Virtual Machine > Shut Down.