Gandalf was the only one of five Wizards to return to the Undying Lands after The Lord of the Rings. Here's why and what happened to the others.
Eventually, the wizard defeats the creature and transforms into Gandalf the White. In the 1978 animated film, there is a deleted scene depicting the battle, though with far less epic scale.