How to cancel the patent agency after the patent has been electronically applied for authorization?

First of all, there is no need to cancel the agency. Are authorized. It doesn't matter. You can pay the annual fee independently.

Secondly, if you really want to cancel the agency, you need to apply for and have an electronic application account as the patentee, and then submit the change of the instruction project through the electronic application client, issue a statement of termination of the agency, cancel the agency, and pay the change fee of the instruction project.