If you want your child back then you need to do what
CPS says and more. They make you jump through hoops. They would have to have medical documentation that child was malnourished and not gaining weight in your care. If you are serious about getting her back, go and sign up for a few classes at your local library or social service (parenting class, whatever they offer), maybe ask for an appointment with social worker supervisor and ask what exactly you have to do for the next court date (without an attitude). I understand you are mad/upset but unless you calm down with CPS the longer you will wait to get her back.