This would be something you would need to study out and pray over. Sometimes things don't turn out the way we'd imagined, and it can be hard to accept or adjust to it, but then later we see how these twists and turns were for our good and for the good of those around us. I'm the middle of three girls and I'd always wanted a brother when I was growing up, but since my father was abusive, it's very likely any boys in our family would have grown up to be abusive as well. So that was a blessing in that it reduced testosterone-fueled conflict in the home, and also meant less likelihood of grandchildren being raised by an abusive parent.
I have two little boys. The first pregnancy went well but ended with pre-e that required urgent surgery and a week in the hospital before going home and being confined to one floor of our house for a month. The second pregnancy went very well but was difficult at home because my husband was in his first year of medical school and desperately needed to study every waking moment, and the new baby had colic and my two kids were only 18 months apart. In the midst of all this, my husband told me he'd be content with just two kids, and that made me feel very sad, even though I was desperate for sleep and the house was a mess and I was stretched terribly by my infant's piercing shrieks all the time, especially if I put him down. Doesn't make sense, and I knew it at the time, but I also know I want more kids.
After prayer and thought, I feel I can accept only having two kids, and I will make the most of it while they are young. My 2-year-old seems to have grown half a foot in the past month and it just makes me wistful for when he was 18 inches long. If we have more kids, we'll accept them. My husband (an RN as well as a [now] second-year medical student) says a vasectomy can be done as an outpatient surgery and is much simpler to reverse than tubal ligation. To reverse it merely involves stitching a tube back together, so if you both decide later that you'd like to try again, you can likely do so.
Remember, too, that if you place your life at risk to have another baby, you risk orphaning your children who still very much need you in their lives. You can instead consider adoption, fostering, or even volunteering to help new mothers in your community and help them get some sleep or home-cooked meals or whatever. That way you'd get time with a baby, you'd be easing another mother's burdens, but you wouldn't place as great a strain on your health or your family. It's a thought. I'm glad you came safely through everything!