Yharim asked to learn from him in order to 'peacefully' calm the denizens of the underworld. When Yharim was young, he ventured from the jungle temple to the ancient ice temple where the archmage Permafrost resided.
Yharim's prison for the magic of the ice castle, Cryogen, is a representation of Yharim's bitter cold hatred for the Archmage of Ice.