A mandate may be cancelled by either party at any time.
委任は、各当事者がいつでもその解除をすることができる。
In the following cases, a party that has cancelled a mandate pursuant to the provisions of the preceding paragraph must compensate for damage suffered by the other party; provided, however, that this does not apply if there was a compelling reason for the cancellation:
前項の規定により委任の解除をした者は、次に掲げる場合には、相手方の損害を賠償しなければならない。ただし、やむを得ない事由があったときは、この限りでない。
if the party cancels the mandate at a time that is detrimental to the other party; or
相手方に不利な時期に委任を解除したとき。
if the mandator cancels the mandate for which the purpose includes the interests for the mandatary (excluding the profit to be obtained exclusively by receiving remuneration).
委任者が受任者の利益(専ら報酬を得ることによるものを除く。)をも目的とする委任を解除したとき。
cancellation
解除
Ending a contract by one party's notice to the other, where the contract or the law gives that party a right to cancel (Civil Code, Article 540, paragraph (1)). The Civil Code lets a party cancel for the other's failure to perform: after a demand to perform within a reasonable time that is not met, unless what is still missing is minor (Article 541), or at once where performance has become wholly impossible, or the other party has clearly refused to perform, among other cases where performance clearly will not come (Article 542, paragraph (1)). On cancellation each party must put the other back in the position before the contract, and damages can still be claimed (Article 545, paragraphs (1) and (4)); a lease, though, ends only from then on (Article 620). Cancellation differs from rescission (取消し), after which the act is treated as void from the start (Article 121).
Written for this site using Civil Code, Arts. 121, 540, 541, 542, 545, 620 as a reference.