Sarah Silverman had a major medical scare last week when a case of epiglottitis sent her to the ICU and nearly cost her her life.

Epiglottitis occurs when a piece of small cartilage that covers the windpipe gets inflamed and prevents air from getting into the lungs, according to the Mayo Clinic. In a Facebook post, Silverman addressed her unfortunate medical situation and thanked those who stood by her.

“I was in the ICU all of last week and I am insanely lucky to be alive. Don’t even know why I went to the doctor, it was just a sore throat. But I had a freak case of epiglottitis,” she wrote.

“There’s something that happens when three people you’re so close to die within a year and then YOU almost die but don’t. (That was me. I’m the one that didn’t die.) It’s a strange dichotomy between, ‘Why me?’ and the other, ‘Why me?'” she added.

Silverman thanked the medical team that attended to her in the ICU, including “Dr. Shawn Nasseri, Dr. Robert Naruse, Dr. Rob Huizenga, every nurse, and every technician & orderly at Cedars who’s (sic) punch-the-clock jobs happen to save human lives on the regular.”

She also thanked her sisters, friends and boyfriend Michael Sheen for standing by her and making sure she wasn’t alone during the process.

“They couldn’t put me fully to sleep for the recovery process because my blood pressure’s too low. I was drugged just enough to not feel the pain and have no idea what was happening or where I was. They had to have my hands restrained to keep me from pulling out my breathing tube. My friend Stephanie said I kept writing ‘was I in an accident?'” she wrote.

However, even a medical scare of this nature wasn’t enough to dampen the comedienne’s spirits for too long. She also recounted a few funny moments when she came to.

“When I first woke up and the breathing tube came out, I still couldn’t talk and they gave me a board of letters to communicate. My loved ones stood there, so curious what was going to be the first thing I had to say. They followed my finger, rapt, as I pointed from letter to letter until I finally spelled out, “Did you see ‘Hello My Name is Doris,'” she added.