The Guarantor shall have no further liability or obligation under this Guaranty from and after the earliest of (a) a written agreement between the Guarantor and the Beneficiary terminating the obligations and liabilities of the Guarantor pursuant to this Guaranty and (b) the termination of the Purchase Agreement in accordance with its terms.