Think on the positive that may have done the child a service because you have made the parents aware of issues they might not have known to this extent if you had continued along. When she gets released form her next home it will make them take notice. You may have just started the ball rolling to get this child some help down the road. In a sense you may very well have started saving this child by releasing her and letting the parents know why.