The legal entitlement to end a contract and discharge both parties of their rights and obligations under it.