In truth, I aint going to bother going back over that episode. . .
But I recall her saying something when she went in there with Maddie, along the lines of "what if your child was hungry and you could not feed him?" and that she really just allowed Maddie to slide back out and lock the gate...