I’ve recently lost control of a VM that was stuck at 95% of a task. I waited and tried to regain control of the VM, nothing helped. This is how I got around it:

SSH into the ESX on which the VM is instantiated
cat /proc/vmware/vm/*/names | grep <vm_name>
note the vmid
note the group vmid
/usr/lib/vmware/bin/vmkload_app -k 9 <group_vmid>

That’s it!