Uninstall orphan agent

Uninstall orphan agent

Hi team,

I have a client where i want to uninstall the ec agent but when i try it from uninstall on control panel it gives me the OTP page.I get it from the portal and put it there but it says incorrect OTP.

Worth mentioning that the agent is missing in the ec server portal.
How to force uninstall the agent bypassing the OTP at all?
I have tried to uncheck the Restriction to uninstall the agent

Best Regards,
Bionid