The juvenile court’s order denying minor’s request to reenter foster care was proper. In 2015, the Agency filed a section 300(g) petition on behalf of minor W.C., who was homeless. However, since W.C. turned 18 before the disposition hearing, the dependency petition was dismissed. W.C. did not appeal. In 2016, W.C. requested reentry pursuant to section 388(e), but the court denied reentry, as W.C. had never been a dependent of the court. The appellate court affirmed, finding that section 388(e) provides for reentry for a dependent or delinquent minor who has attained 18 for whom the court has dismissed dependency jurisdiction pursuant to section 391 but has retained general jurisdiction under section 303(b). Here, the juvenile court found a prima facie case under section 300(g), but never adjudged W.C. to be a dependent child. The dismissal of the case was final, as W.C. did not appeal. Therefore, the juvenile court properly denied him reentry.