The published Silmarillion ends with the recounting of the voyage of Eńrendil the Mariner, but in the older versions of the Silmarillion as published in The History of Middle-earth this was not yet the end. The Silmarillion originally ended with a prophesy by Mandos about the Final Battle (or the Dagor Dagorath in Sindarin).
According to the prophesy, Melkor will discover how to break the Door of Night, and will destroy the Sun and the Moon. For the love of these, Eńrendil will return from the sky and shall meet Tulkas, ManwŰ (or E÷nwŰ his herald) and T˙rin Turambar on the plains of Valinor. All the Free Peoples of Middle-earth will participate in this final battle, Elves, Men and Dwarves alike. To their number will be added Ar-Pharaz˘n and the N˙menˇreans who landed at Aman in 3319 SA.
There they shall fight with Melkor. Tulkas will wrestle with him, but it will be by the hand of T˙rin that finally death and destruction will be dealt to Melkor. T˙rin will run his black sword Gurthang (Iron of Death) through Melkor's heart, thus avenging the Children of H˙rin (Sind: Hţn H˙rin), and the Pelori Mountains will be levelled. The Silmarils will be recovered from the Earth, and FŰanor's spirit shall be released from the halls of Mandos to unlock them and rekindle the light of the Two Trees. The battle will happen at the end of Arda's existence, and mark the ending of the world, finally ending the immortal life of the Elves.