When ultimately she lay down on her bed she began to think deeply about her evil and impure way of living. In this state of self-introspection, a sense of disregard of sexual enjoyment and passion dawned upon her. On that night, the great sage Dattatreya was engaged in watching her state of mind closely. His continuous watch brought a great change in her life. She became a great devotee of the Lord and thus attained emancipation.
References :
1. Kohli,Surindar Singh ed,Dictionary of Mythological References in Guru Granth Sahib 1993