Roseanne blames 'Ambien tweeting' at 2 am for her racist Valerie Jarrett tirade
Roseanne Barr on Wendy Williams show/Screenshot

Roseanne Barr, after vowing to quit Twitter in the wake of her racist tirade against former Obama White House aide Valerie Jarrett, was back on the social media platform Wednesday night to air her grievances.

Barr wrote that nothing could excuse her racist rant against Jarrett, whom she likened to an ape, although she said that "it was 2 in the morning and I was Ambien tweeting" when she did it.

After making this statement, Barr retweeted several messages from her fans in which they attacked ABC for canceling her show -- despite the fact that Barr told them in an earlier tweet she did not want them to make excuses for her.

ABC Entertainment president Channing Dungey said that the network was cancelling Barr’s show after she ignited a firestorm of controversy on Tuesday by “joking” that Jarrett looked like the offspring of the “Muslim Brotherhood & Planet of the Apes.”

Barr has issued a formal apology for the joke, which she admitted was in poor taste.

“I apologize to Valerie Jarrett and to all Americans,” Barr wrote on Twitter. “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.”

Prior to ABC’s decision to cancel the show, consulting producer and legendary comedian Wanda Sykes announced that she would not be returning to the show.

The Jarrett incident was not the first time Barr had compared a black woman to an ape, as in 2013 she called former Obama national security adviser Susan Rice “a man with big swinging ape balls.”