Whoopi Goldberg shocked her fellow co-hosts and "The View" audience on Thursday when the star made a surprise appearance on the morning talk show.

This marks the first time Goldberg has been out publicly since her near-death experience battling double pneumonia and sepsis. She's been absent from the show for over a month.

“This is my first foray out,” admitted Goldberg. “I’m not there yet, I’m not better…but over the next week and a half I will be here more often.”

The 63-year-old spoke about how she still has a cough and about her three-week stint in the hospital. She encouraged people to take their health issues seriously before they spiral into something which could be fatal.

She said her "scariest moment" was "hearing my doctor say to me 'You do realize how close to death you were?'"

'THE VIEW' HOST MEGHAN MCCAIN SLAMS LORI LOUGHLIN'S HUSBAND AFTER ARREST IN ALLEGED COLLEGE ADMISSIONS SCAM

Goldberg also offered up her thoughts on health insurance and how her insurance advocate was arguing with her doctor over what breathing machine would be paid for.

“If the doctor says this is what you need, I feel like you should listen to the doctor,” Goldberg said. “Sixty years of insurance money and you’re telling me I can’t get this machine. B---h, I could have bought this machine.”

Last week, Goldberg broke her silence about why she's been gone for so long in a video message to fans.

“Yes, I came very close to leaving the earth. Good news, I didn’t. Thank you for all of your good wishes, all of the wonderful things that people have been saying. Even people who aren’t huge fans of mine have actually been saying nice things about me,” she continued.

She said she may be back on "The View" next week.