Jimmy Kimmel was in the bathroom when he found out his late-night talk show, “Jimmy Kimmel Live,” was being pulled from the air “indefinitely.”

The comedian gave a play-by-play of the “strange … emotional rollercoaster” on the “Late Show With Stephen Colbert” Tuesday.

“Do you want to hear the whole thing?” Kimmel, 57, asked pal Stephen Colbert.

Jimmy Kimmel gave a play-by-play of how he found out his late-night talk show, “Jimmy Kimmel Live,” was being pulled from the air “indefinitely.” CBS

“It was an emotional rollercoaster. I know you hear that a lot. It really was. It was very strange,” the comedian shared on the “Late Show With Stephen Colbert” Tuesday. CBS

“It was around 3 o’clock, we tape our show at 4:30. I’m in my office typing away — as I usually do. I get a phone call. It’s ABC. They say they want to talk to me,” he began.

“This is unusual,” Kimmel continued. “As far as I knew, they didn’t even know I was doing a show previous to this. I have, like, five people who work in my office with me, so the only private place to go is the bathroom.

“So I got into the bathroom and I’m on the phone with the ABC executives,” Kimmel recalled. “They say, ‘Listen, we want to take the temperature down. We’re concerned about what you’re going to say tonight, and we’ve decided that the best route is to take the show off the air.’”

“It was around 3 o’clock, we tape our show at 4:30. I’m in my office typing away — as I usually do. I get a phone call. It’s ABC. They say they want to talk to me,” the “Boss Baby” voice actor began. CBS

“I’m on the phone with the ABC executives and they say, ‘… We’re concerned about what you’re going to say tonight and we’ve decided that the best route is to take the show off the air,’” he recalled. CBS

Want more celebrity and pop culture news?

Start your day with Page Six Daily.

Thanks for signing up!

When the audience began to boo loudly, Kimmel quipped, “That’s what I said. I started booing.”

The former “Who Wants to Be a Millionaire?” host remembered telling the ABC execs that he didn’t think pulling the show was “a good idea.” However, they voted and Kimmel lost.

The late-night talk show host said he returned to his office and told his executive producers about the show’s suspension.

The late-night talk show host said he returned to his office and told his executive producers that the show was being suspended. CBS

Kimmel said he was “followed by 20 paparazzi cars, TMZ, people jumping in front of me” on his way home. Ulices Ramales / BACKGRID

Kimmel noted that while all of this was happening, audience members for his show were “already in their seats.”

After they were sent home, Kimmel stayed on set for a couple of hours before leaving himself.

“I’m followed by 20 paparazzi cars, TMZ, people jumping in front of me on the way home. We’re just trying to get to the house. … There were two helicopters flying over,” he said.

Kimmel said the next few days were like “jail” and he couldn’t make any statements but had to make and take a lot of phone calls. Steve Sands/ New York Newswire / BACKGRID

Kimmel’s late-night ABC show was suspended on Sept. 17 after he discussed Charlie Kirk’s death during his monologue. Jimmy Kimmel Live

“We get to the house and we’re shaken. The kids are up — our daughter is 11 years old and says, ‘I can sell my Labubus,’” Kimmel joked. “It was very sweet. Our son just got naked and started running around the house.”

He said the next few days were like “jail” and he couldn’t give any statements but had to make and take a lot of phone calls.

Kimmel’s late-night ABC show was suspended on Sept. 17 after he discussed Charlie Kirk’s death during his monologue.

The late right-wing political activist was shot and killed on Sept. 10 while speaking at Utah Valley University. He was 31. AP

Days later, Walt Disney Company announced that Kimmel’s show would be back on the air. AP

The late right-wing political activist was shot and killed on Sept. 10 while speaking at Utah Valley University. He was 31.

Days later, Walt Disney Company announced that Kimmel’s show would return to the air.

He insisted there wasn’t “anything funny” about Kirk’s death in his tearful return last week — which scored 6.26 million total viewers despite the show being unavailable across 23% of US TV households due to Nexstar and Sinclair preempting it.