Remedies may be discharged by various means, such as accord and satisfaction, waiver or release, or frustration of purpose.