The Lord of the Rings
Some years later Frodo and Sam go to meet Bilbo, Elrond, and Galadriel, and some other elves. They all go to the Grey Havens, where they meet Gandalf, and also Merry and Pippin. The Ring-bearers Bilbo and Frodo, together with Gandalf and the elves, leave Middle-earth, and go west across the sea to Valinor. The Fourth Age of Middle-earth begins. The three remaining hobbits go back to the Shire, and Sam returns to his wife and child.