"I came very, very close to leaving the Earth," she said. "Good news, I didn't."

Goldberg thanked her friends, and critics, for their well-wishes and said she will share more about her health scare when she returns to the ABC daytime talk show. It's not clear when Goldberg plans to go back on the air.

On a Feb. 20 episode of the show, Joy Behar joked that her co-host was on maternity leave before telling viewers that Goldberg was "on the mend." Behar also denied rumors she was set to host the Oscars after Kevin Hart's departure.