Notwithstanding any other provision in this chapter, if a trust continues in existence after the expiration of the longer of the periods provided by the statutory rule against perpetuities, Article 2 (commencing with Section 21205) of Chapter 1 of Part 2 of Division 11, the trust may be terminated in either of the following manners: