Requesting to return the deposit back to the buyer in the cancellation. Usually cancellation and releasing escrow fund to which party should be signed at the same time.
Remember that the best weapon for the buyer want the deposit back is the the cancellation signing. Without signing the cancellation, the seller could do anything for the property till judgement or settlement.