Legal basis: Civil Code of People's Republic of China (PRC).
Article 557 Creditor's Rights and Debts shall be terminated under any of the following circumstances: (1) The debt has been performed; (2) The debts offset each other; (3) The debtor deposits the subject matter according to law. (4) Creditors are exempted from debts; (5) Creditor's rights and debts are owned by one person; (six) other circumstances stipulated by law or agreed by the parties to terminate. If the contract is terminated, the rights and obligations of the contract shall be terminated accordingly.
Article 562 The parties may terminate the contract through consultation. The parties may agree on the reasons for one party to terminate the contract. When the reasons for the termination of the contract arise, the creditor may terminate the contract.
Article 934 The entrustment contract is terminated if the principal dies or terminates, the agent dies or loses capacity for civil conduct or terminates. However, unless otherwise agreed by the parties or due to the nature of the entrusted affairs, it is not appropriate to terminate.