You can manage virtual machines by using the vSphere Client. You can use ESXCLI to list all running virtual machines and to stop a specific virtual machine.