The only way I can think that you are able to do this Gico is that if you have a snapshot of the virtual machine in any state that you want, return to that snapshot when you need to, after disconnecting nutrition. This is definitely possible if you are using vSphere, not sure about the rest of VMware products.
To do this in vSphere, put the machine in the desired state, right-click the VM in the vsphere Management / vCenter console, select Snapshot → Take Snapshot. Then, in the same snapshot menu, use “Snapshot Manager” to return to that snapshot when you need to.
Perhaps the way to automatically return a snapshot is described at this link:
http://www.vmware.com/support/ws5/doc/ws_preserve_sshot_revert_or_goto.html
See the section Power Failure .
In the VMware player, you can use "Revert at power off".
source share