Her role of Pansy in Terry Gilliam's Time Bandits (1981) followed.
Duvall was forced to perform the iconic and exhausting baseball bat scene 127 times.
Afterwards, Duvall presented Kubrick with clumps of hair that had fallen out due to the extreme stress of filming.
She appeared in a minor role in Woody Allen's Annie Hall (1977).
Duvall's next role was Wendy Torrance in The Shining (1980) directed by Stanley Kubrick.
She also hosted an evening of Saturday Night Live and appeared in 5 sketches: "Programming Change," "Video Vixens," "Night of the Moonies," "Van Arguments" and "Goodnights." In 1977, Duvall starred as Mildred "Millie" Lammoreaux in Altman's 3 Women.