If a petition requesting adoption is withdrawn or denied, the court may order the removal of the child from the proposed adoptive home if removal is in the child's best interest and may enter any order necessary for the welfare of the child.
Tex. Fam. Code § 162.020