State health insurance

Did anyone have state health insurance while pregnant and then have it get canceled after you had the baby? Were you able to re-apply and get approved? Or did you need to do the marketplace?