NEW YORK (AP) — The maker of Ambien said Wednesday that "racism is not a known side effect" after Roseanne Barr cited the insomnia drug in explaining the tweet that led ABC to cancel her show.

Hours after ABC pulled the plug on "Roseanne" because of her offensive tweet about former Obama adviser Valerie Jarrett — and quickly breaking a promise to stay off Twitter — the comedian was busy posting on the social media platform.

Barr tweeted that what she did was unforgiveable and urged supporters not to defend her. She said of the Jarrett tweet, "It was 2 in the morning and I was ambien tweeting."

The drug maker Sanofi took to social media to say that "while all pharmaceutical treatments have side effects, racism is not a known side effect of any Sanofi medication."

Barr later tweeted that she has had odd experiences while taking the drug late at night. "I blame myself, not Ambien," she tweeted.