Days after Whoopi Goldberg revealed her near-fatal battle with pneumonia, the comedian popped in Thursday for a surprise appearance on ABC’s The View.

Goldberg’s co-hosts Joy Behar, Abby Hunstman, Ana Navarro, Sunny Hostin and Meghan McCain were stunned when she approached the show’s stage.

“This is my first foray out,” she said. “The only way I’m going to get better is if I begin. So this is my beginning,” Goldberg said.

The EGOT winner shared an update on her condition and when fans could expect her back full time. “I still have a cough and that’s the last thing to go, apparently,” she said. “Over the next week and a half I will start to be here more often, but I wanted the first foray out to be to come see y’all because I missed y’all.”

She stressed the importance of seeking medical help, regardless how insignificant a condition may seem. “This stuff, really for everybody, you think you can push through because you got a little cold. And you think because you healed quick that something crazy can’t happen? Well, it could,” she shared.

“This is a cautionary tale for all of us. You must really take care of yourself because there’s little tiny stuff out there that will kill you that you never think of,” Goldberg said.

The show's social media account posted a celebratory picture following Goldberg's surprise appearance.

Last Friday, Goldberg revealed that she almost died from complications to septic pneumonia. "So here’s what happened: I had pneumonia and I was septic. Pneumonia in both lungs, which meant there was fluid. There was all kinds of stuff going on. And yes, I came very, very close to leaving the Earth. Good news, I didn’t."

Prior to her surprise visit, Goldberg's last appearance on The View was Feb. 5."