Why did Vishwamitra leave Menaka?

Vishwamitra was a king who gave up his throne to become the greatest of sages.
The gods feared his power. Indra sent the celestial dancer Menaka to distract him, and for ten years he forgot his penance. When he realised, he did not curse her. He let her go, and went back to his work.
Tempted again, he lost his temper, and lost his power. He saw that his real enemy was his own anger.
Only when he mastered it did he become a brahmarishi, the highest of sages.
Source: Valmiki Ramayana. Episodes found only in later retellings are marked as such.