A contract can be discharged through performance, breach, death, impossibility of performance, agreement of the parties, operation of law, or lapse of time. The doctrine of frustration provides that if an unexpected event occurs that makes performance impossible or unlawful, the contract is discharged. An aggrieved party may sue for specific performance, injunction, damages, or quantum meruit compensation for work performed if a contract is void.