You start the Maintenance Mode for the ESXi host. While the task is running, you interrupt the task and you disconnect the ESXi host.
You try to connect the ESXi host but it is failing with error:
VMware vSphere ESXi 8.0
VMware vSphere ESXi 7.0
Interrupted task (entering Maintenance Mode) is stuck and never times out