Vivian Kubrick, the daughter of famed director Stanley Kubrick, admonished the “Dr. Phil” show for interviewing actress Shelley Duvall, who is suffering with mental illness. Kubick accused Phil McGraw and his staff of exploiting the 67-year-old star in a public letter Wednesday.

“You are putting Shelley Duvall ‘on show’ while she if suffering from a pitiable state of ill health,” the letter said. “Unquestionably, this is purely a form of lurid and exploitative entertainment—it’s appallingly cruel.”

Duvall worked with Kubrick’s late father on the 1980 horror film “The Shining,” which also starred Jack Nicholson. Duvall is known for films like “Annie Hall,” “Time Bandits” and “3 Women.”

“Shelly Duvall was a movie star… whatever dignity a mere unfortunate creature might have in this world, is denied her by your displaying her this way,” Kubrick penned. “I recoil in complete disgust. I hope others will join me in boycotting your utterly heartless form of entertainment, because it has nothing to do with compassionate healing.”

Kubrick, 56, signed the note, “sincerely disgusted.” By Thursday, the post was liked and shared hundreds of times by her nearly 15,000 Twitter followers.

In a 30-second teaser for the show, Duvall claims she is being threatened by the “Sheriff of Nottingham,” who is a fictional character from “Robin Hood.”

In another part, the actress asserts she has seen “Popeye” costar Robin Williams, even though he died Aug. 11, 2014. “I don’t think he’s dead,” she says. He’s “shape-shifting.” When Dr. Phil, 66, asks if she’s seem him, she says, “Yes.”

Lastly, Duvalls thinks there is a disc inside her leg that is “worrying.”

“I’m very sick,” the actress says. “I need help.”

Duvall’s episode on “Dr. Phil” is slated to air Friday at 4 p.m. EST on NBC.

Shelley Duvall "Shining" actress Shelley Duvall looked unrecognizable on the "Dr. Phil" show. Photo: NBC

Follow me on Twitter @mariamzzarella