It all depends on your specific state law and your specific situation, so it is not possible to answer things in detail here.
But one thing is clear: if she is not cooperating voluntarily it will mean that "her child is being taken away from her" as you say, even if you will end up being the...