<P> The film version of The Return of the King contains major scenes that occurred in the middle portion of the novel The Two Towers but were not included in the film version, such as the attack by Shelob and the palantír subplot, owing to Jackson's realigning events of the film to fit the timeline as described in the book's Appendices, rather than the main prose . However, it is notable that the plot of the second half of Book III is either completely omitted (chapter "The Road to Isengard") or only shown in one scene (chapter "The Voice of Saruman"). Saruman's murder by Gríma (seen only in the Extended Edition) is moved into the Isengard visit because of the cutting of the Scouring of the Shire . In the film, Saruman drops the palantír when he is fatally attacked, whereas in the book Gríma throws it at the Fellowship, unaware of its value . </P> <P> In the film, all journeys of the companions from Isengard to Minas Tirith are compressed and simplified, as the entire company travels from Isengard to Edoras and arrives there simultaneously to recuperate after the Battle of Helm's Deep . Pippin's looking into the palantír happens in Edoras, and he and Gandalf leave for Minas Tirith from there, but in the book this takes place at Dol Baran with the appearance of a Nazgûl on a winged steed, and they stay at Edoras only one night . In contrast to the film, Aragorn and Théoden march from Dol Baran to Helm's Deep to take a night's rest . It is in the Hornburg where Aragorn looks into the Palantír (as opposed to the film's Extended Edition, in which he does so much later in Minas Tirith after the Battle of the Pelennor Fields) and decides to take the Paths of the Dead . In the film, Aragorn and Theóden depart not before their encampment at Dunharrow, but in the book, Aragorn and the Dúnedain (which are absent in the film) ride from Helm's Deep over the fields to Edoras and then to Dunharrow and the Dimholt, whereas in the book, Théoden takes slower mountain paths and arrives in Dunharrow after Aragorn and his companions have already left . Théoden is seen to set out directly from Dunharrow to Minas Tirith, omitting his brief return to Edoras from Dunharrow to muster all remaining forces there, as told in the book . </P> <P> The sequence of the Paths of the Dead adds a conversation between Aragorn and the King of the Dead (in the book the Dead don't speak at all) and a scene where the companions must flee an avalanche of skulls, but leaves out the encounter with Baldor's skeleton . In contrast to the book, the viewer doesn't get told what happened in Lebennin between Aragorn and the Corsairs of Umbar . The film version (Extended Edition) doesn't correspond with the map of Gondor, as the company sees a near river with Corsair ships immediately after leaving the Haunted Mountain . In the book, the River Anduin lies several hundred miles farther east, requiring a much longer journey with the Army of the Dead following behind, bringing terror to the towns they pass along the way . </P> <P> The basis of Elrond and Arwen's subplot arguing about Arwen's fate is derived from the Appendices, but it is largely extended in the film, as is Arwen and Elrond's relevance to the story . </P>

What happens at the end of the lord of the rings trilogy