The pulmonary embolism then sparked a coughing fit that caused her caesarean section wound to re-open.
With the tennis star now fully recovered from the traumatic delivery, Williams admits she has found the first few months of motherhood a challenging experience.
"Sometimes I get really down and feel like, man, I can't do this," said Williams.
"I've broken down I don't know how many times. Or I'll get angry about the crying, then sad about being angry, and then guilty, like, Why do I feel so sad when I have a beautiful baby? The emotions are insane."
Having made her playing comeback last month at the Mubadala World Tennis Championship in Abu Dhabi, Williams was targeting a Grand Slam return at the Australian Open, but the 36-year-old announced last week that she would not be defending her title in Melbourne.
"To be honest, there's something really attractive about the idea of moving to San Francisco and just being a mom," says Williams.
"But not yet. Maybe this goes without saying, but it needs to be said in a powerful way: I absolutely want more Grand Slams. I'm well aware of the record books, unfortunately. It's not a secret that I have my sights on 25."
"At my age, I see the finish line. And when you see the finish line, you don't slow down. You speed up."