Earlier Tuesday, Barr had posted a comment about Valerie Jarrett, who was one of former President Barack Obama's closest White House advisers, described her as the offspring of "Muslim Brotherhood & Planet of the Apes."
ABC Entertainment president Channing Dungey said Barr's Twitter comments were "inconsistent with our values, and we have decided to cancel her show."
Barr's show about a struggling working class family originally aired from 1988-97.
A revival of the show, portraying the same, now older, family, began airing in March to very strong ratings, with ABC almost immediately contracting for a second season, which is now scuttled.
Some of the characters on the show voiced support for US President Donald Trump, as has Barr.
Before the cancellation, Barr, 65, deleted the tweets and apologized to 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," she wrote.
Barr said she was "now leaving Twitte
ABC Entertainment president Channing Dungey said Barr's Twitter comments were "inconsistent with our values, and we have decided to cancel her show."
Barr's show about a struggling working class family originally aired from 1988-97.
A revival of the show, portraying the same, now older, family, began airing in March to very strong ratings, with ABC almost immediately contracting for a second season, which is now scuttled.
Some of the characters on the show voiced support for US President Donald Trump, as has Barr.
Before the cancellation, Barr, 65, deleted the tweets and apologized to 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," she wrote.
Barr said she was "now leaving Twitte