The ways in which a contract may be brought to an end, including by agreement, breach, frustration, and impossibility.