Either party could back out at any time. No court will enforce "specific performance" if someone fails to follow the contract. The only risk or recourse is money. For the buyer, they have 10 days to back out without penalty; after that they forfeit their deposit. For the seller, there's no grace period; after an accepted offer, they're on the hook for the commission.