A trustee shall not be liable to a beneficiary for breach of trust if the beneficiary, while having capacity, in writing, consented to the conduct constituting the breach, released the trustee from liability for the breach or ratified the transaction constituting the breach, unless:
Mass. Gen. Laws ch. 203E, § 1009