Two things come to mind:
For chivalrous reasons The Valar took Melkor prisoner and placed him in the Halls of Mandos after the awakening of the Elves, instead of thrusting him into the Void.
For reasons of pride Ar-Pharazon took Sauron as a hostage back to Westernesse.
|