362.4. (Amended by Stats. 2017, Ch. 319, Sec. 130.)
(a)If the juvenile court terminates its jurisdiction over…#
(a) If the juvenile court terminates its jurisdiction over a minor who has been adjudged a dependent child of the juvenile court prior to the minor’s attainment of the age of 18 years, and proceedings for dissolution of marriage, for nullity of marriage, or for legal separation, of the minor’s parents, or proceedings to establish the paternity of the minor child brought under the Uniform Parentage Act, Part 3 (commencing with Section 7600) of Division 12 of the Family Code, are pending in the superior court of any county, or an order has been entered with regard to the custody of that minor, the juvenile court on its own motion, may issue a protective order as provided for in Section 213.5 or as defined in Section 6218 of the Family Code, and an order determining the custody of, or visitation with, the child.