(d) If the child cannot be safely placed in a nonlicensed placement, the court shall commit the child to the temporary legal custody of the department. Such commitment invests in the department all rights and responsibilities of a legal custodian. The department shall not return any child to the physical care and custody of the person from whom the child was removed, except for court-approved visitation periods, without the approval of the court. Any order for visitation or other contact must conform to the provisions of s.
39.0139. The term of such commitment continues until terminated by the court or until the child reaches the age of 18. After the child is committed to the temporary legal custody of the department, all further proceedings under this section are governed by this chapter.
Protective supervision continues until the court terminates it or until the child reaches the age of 18, whichever date is first. Protective supervision shall be terminated by the court whenever the court determines that permanency has been achieved for the child, whether with a parent, another relative, or a legal custodian, and that protective supervision is no longer needed. The termination of supervision may be with or without retaining jurisdiction, at the court's discretion, and shall in either case be considered a permanency option for the child. The order terminating supervision by the department shall set forth the powers of the custodian of the child and shall include the powers ordinarily granted to a guardian of the person of a minor unless otherwise specified. Upon the court's termination of supervision by the department, no further judicial reviews are required, so long as permanency has been established for the child.