It sounds like you have already initiated a court process. Since you have already done so, there is a proper procedure for withdrawing from that process. If you do so, and your Aunt will still care for your daughter temporarily, you can execute what is called an "in loco parentis" authorization for your aunt. It is akin to a power of attorney, but can and should be used sparingly and for only short, temporary situations. Also if CPS has been or is involved you should strongly consider using an attorney. For the withdrawal from the court process and the proper creation of an in loco parentis document i also strongly recommend you use a qualified attorney.
Donald is correct. The petition would need to be dismissed and time may be of the essence. Contact an attorney who knows this stuff. The document Donald is referring to needs to be done by an attorney to ensure it is done correctly.
Sign up to receive a 3-part series of useful information and advice about child custody law.