The patent agency has withdrawn the case, does that mean the contract is over?

No. If a contract is signed with the patent agency, other matters stipulated in the contract may still be valid, such as the work the agency has completed, fees paid, confidentiality agreements, etc. The withdrawal of the patent agency refers to the process of applying for a patent on behalf of the agency. , for some reason, the agency withdrew the patent application.