ABC cancelled its hit reboot of Roseanne on Tuesday following star Roseanne Barr's racist tweet that referred to former Obama adviser Valerie Jarrett as a product of the Muslim Brotherhood and the Planet of the Apes.

"Roseanne's Twitter statement is abhorrent, repugnant and inconsistent with our values, and we have decided to cancel her show," ABC Entertainment president Channing Dungey said in a statement.

The outspoken performer was also dropped by her talent agency, ICM Partners, on Tuesday afternoon.

Barr had apologized and deleted her Monday-night tweet, calling it a "bad joke," but the damage had already been done.

I apologize to Valerie Jarrett and to all Americans. I am truly sorry for making a bad joke about her politics and her looks. I should have known better. Forgive me-my joke was in bad taste. —@therealroseanne I apologize. I am now leaving Twitter. —@therealroseanne

The revival of the comedy was a surprise smash for ABC, owned by the Walt Disney Co., and was counted on to lead the network's fortunes next season.

Its first new episode in March was seen by more than 25 million people, with delayed viewing counted in, numbers that are increasingly rare in network television.

Dungey's statement cancelling the show came after Wanda Sykes, consulting producer for Roseanne, tweeted that she was leaving. Sara Gilbert, a co-star and an executive producer, also tweeted that the remark was abhorrent.

I will not be returning to <a href="https://twitter.com/RoseanneOnABC?ref_src=twsrc%5Etfw">@RoseanneOnABC</a>. —@iamwandasykes Roseanne’s recent comments about Valerie Jarrett, and so much more, are abhorrent and do not reflect the beliefs of our cast and crew or anyone associated with our show. I am disappointed in her actions to say the least. —@THEsaragilbert This is incredibly sad and difficult for all of us, as we’ve created a show that we believe in, are proud of, and that audiences love— one that is separate and apart from the opinions and words of one cast member. —@THEsaragilbert

One of the few network shows about a working-class family, Roseanne attracted considerable attention upon its return when Barr's character supported President Donald Trump. That made the show popular with conservative viewers, and Trump himself suggested the character's backing had a lot to do with the show's success.

But ABC had said that it expected the show, when it returned next fall, to tone down political comedy.

The rebooted show recently concluded its first-season run Tuesdays on CTV but had also been available to stream on CTV.ca and the CTV Go app. A CTV spokesperson said the episodes were being removed from those platforms, as well as the on-demand services available through the country's various cable providers.

TV columnist Bill Brioux said it's "terribly sad" the new show was sunk by Barr's behaviour.

"I thought the revival was wonderful," Brioux, who writes for The Canadian Press, told CBC News. "It far exceeded my expectations, I thought all those actors did a wonderful job.… it's just a shame she could not be made to control herself on Twitter."

But he speculated that the show might not be dead.

"I think within the next 48 hours we are going to hear that the show is going to be renamed The Connor Family," said Brioux, predicting Barr's character will be killed off and the next season will open with her funeral.

"You can bet there are lawyers right now working trying to sort this out," he said.

Social media storm

The Jarrett comment was one of a series of political tweets made by Barr. She criticized Democratic financier George Soros and tweeted that Chelsea Clinton was "Chelsea Soros Clinton," implying she was married to a nephew of Soros. Clinton herself corrected Barr online.

Barr called Soros "a Nazi who turned in his fellow Jews 2 be murdered in German concentration camps," which the president's son, Donald Trump Jr., retweeted.

Sorry to have tweeted incorrect info about you!I Please forgive me! By the way, George Soros is a nazi who turned in his fellow Jews 2 be murdered in German concentration camps & stole their wealth-were you aware of that? But, we all make mistakes, right Chelsea? —@therealroseanne

In a statement, Soros's spokesperson said "the false allegations are insulting to the victims of the Holocaust, to all Jewish people and to anyone who honours the truth," pointing out that Soros was a boy living under a false identity in Nazi-occupied Hungary during the Second World War.

Jarrett was brought up in response to Twitter commentary that raised her name in relation to an Obama conspiracy theory. Barr tweeted: "muslim brotherhood & planet of the apes had a baby=vj."

I am repulsed that Valerie Jarret had that racist and bigoted "joke" made at her expense and I am sickened that any Black or Muslim person has to keep hearing this sickness in 2018. —@PattyArquette

She later tweeted an apology to Jarrett. "Forgive me," she wrote. "My joke was in bad taste."

The performer's social media posts quickly sparked an uproar online, with many people calling on ABC to act. Dungey's statement drew praise from many in the TV community, including ABC showrunners Shonda Rhimes and Kenya Barris.

While Barr said at one point Tuesday she would leave Twitter, by early Wednesday she was retweeting supportive messages from followers.

In a tweet she said, "I'm tired of being attacked [and] belittled more than other comedians who have said worse."