Paula Deen got a rare bit of good news on Thursday: Her new cookbook hit No. 1 on the best-seller list at Amazon.com, as thousands of fans — many of them springing to her defense as she faces accusations of racism — ordered the book months before its October release.

But on Friday, its publisher, Random House, said it would not publish the cookbook, and would cancel a five-book contract it signed with Ms. Deen last year.

The book deal was one of the last remaining lucrative business relationships for the embattled celebrity chef. Its cancellation came on a day when Sears, Kmart and J. C. Penney announced that they would stop selling products, including cookbooks, branded with her name.

Since last week, the Food Network, Smithfield Foods, Walmart, Target, Caesars Entertainment, QVC and the pharmaceutical company Novo Nordisk have decided to suspend or sever ties with Ms. Deen after her admission in a legal deposition that she had used racist language in the past and allowed racist, sexist, homophobic and anti-Semitic jokes in one of her restaurants. Ms. Deen was deposed on video as part of a discrimination lawsuit filed last year by a former employee.