If a child no longer meets the standards under which the child was committed to the custody of the department under § 37-1-175, the department shall make a full report of the status of the child to the committing court. If the committing court objects to the termination of the department's custody, the court shall set a hearing on the matter within fifteen (15) days of the date of the report, with such hearing to be held at the earliest possible date. The department shall retain custody pending the outcome of the hearing. If the court does not set a hearing, the department's custody terminates at the end of the fifteenth day after the date of the report unless the court has approved an earlier termination.