(a) Unless terminated sooner, a court retains jurisdiction over a child until the child attains 18 years of age.
(b) An order for adoption of a child terminates the child’s guardianship case.