Remove the host from the inventory within vCenter Server:
Right click ESXi host object and select Remove from Inventory.
Caution: When an ESX/ESXi host is removed from the vCenter Server inventory, the virtual machines are removed from their respective folders, performance data for the host is lost, and any Distributed Virtual Switch configurations on the host need to be reconfigured.
Connect to the host through SSH and type this command to stop the vpxa service:
/etc/init.d/vpxa stop
The vpxuser now needs to be deleted. You can do so by running the below command: