Roseanne Barr sunk her own ship. 

ABC announced on Tuesday, May 29 that it was cancelling the Roseanne Reboot after the lead actress tweeted at Valerie Jarrett, a former Obama adviser. The racist tweet, which has since been deleted, said, "[if] muslim brotherhood & planet of the apes had a baby = vj."

After being called out, Barr attempted to backtrack and say that the tweet was "a joke." She then announced in a separate tweet that she was leaving twitter. 

Right before ABC announced that the show was cancelled, Barr tweeted a final time. 

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

TheStreet Recommends

The show was considered a success for ABC, each week the show topped 10 million viewers.

The reboot was successful enough for ABC to quickly order a second season. However, before ABC announced that it was cancelling the show, Wanda Sykes, a writer and consulting producer, announced that she would not return for the second season allegedly because of Barr.

ABC is owned by Disney-ABC Television Groupp, which is a subsidiary of The Walt Disney Co. (DIS) - Get Walt Disney Company Report .

Disney has had a rough week so far after Solo only brought in $83 million on its opening weekend. With the cancellation of a highly popular show, the week is just getting worse for the entertainment giant.

When the market closed on Tuesday, Disney was down nearly 3%.