They should have returned to Alexandria, even if it costed the baby to Maggie. I was actually surprised that she didn't suggest that.Should've never gotten out of the friggin car... Just an all around horrible idea..
I mean, they didn't know if Hilltop still existed. Or if the doctor was still alive or would help. It might have been a miscarriage, so no more baby. And they could very well lose Maggie as well. They were risking everything (the RV, Alexandria, etc) without -once again- having the full grasp of the situation.