Feeling like a failure

Sorry this will be a long post. I feel like a total failure as a mom. Before I had my LO I was put on bed rest and my boss knew this. Well 3 weeks after having baby she calls me into her office and tells me my position is cut. Ummm ok. Fast forward I return for the last 2 weeks of the school year and on the last day she tells me I need to sign resignation papers. Well fast forward to Monday my husband and I go meet with her, she I’m not unemployed. I am the insurance carrier for myself and my son. I don’t know what else to do.