When Raavanan's son Meghanathan was born, he had instructed the nava grahas to stay in the 11th house of his son's horoscope but Saniswaran defied his orders and placed himself on the 12th house. An infuriated Raavanan placed Saniswaran in a tiny prison, thereby refusing to let him face the outside world. However, Hanuman managed to rescue Saniswaran upon hearing his cries for help. He also managed to relieve himself of the Sani dhosham by placing huge boulders of rocks on his head, thus permanently getting rid of Saniswaran.