If the buyer pays earnest money to the seller, the buyer may cancel the contract by waiving the earnest money, or the seller may cancel the contract by actually providing the buyer with twice its amount; provided, however, that this does not apply after the counterparty commences performance of the contract.
買主が売主に手付を交付したときは、買主はその手付を放棄し、売主はその倍額を現実に提供して、契約の解除をすることができる。ただし、その相手方が契約の履行に着手した後は、この限りでない。
The provisions of Article 545, paragraph (4) do not apply to the cases referred to in the preceding paragraph.
第五百四十五条第四項の規定は、前項の場合には、適用しない。
Read this with the articles around it
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.