(1) the minor's attainment of 18 years of age with respect to custodial property transferred under section 1251d, 1251e, 1251f or 1251g; or
(2) the minor's death.