Withdraw from or cancel a contract