In the meantime, a powerful Daitya, son of Andhaka named
Adi, the brother of Baka, performed an extensive penance, because he wished to defeat Hara. He did not forget the old enmity, because Daitya Andhaka, the enemy of the immortal
beings, had been defeated by Girisa. He was on the lookout for
an opportunity (to take revenge) in secret. He knew that the
daughter of the Mountain had gone away.
12. Brahma who was delighted with his penance came to
him and said, “O excellent one among Asuras, tell me, what you
wish to acquire by means of penance?”
13-14. The Daitya said to Brahma, “I choose exemption
from death.”
Brahma said :
O Asura, there is no living creature without death. O lord
of Daityas, an embodied being has to meet with his death from
one cause or other.
On being told thus, the lion-like Daitya spoke thus to'the
Lotus-born Lord:
15. “When my form is changed, O Lotus-born Lord, let my
death take place. Otherwise, I should be immortal.”
16. On being told thus, the delighted Lotus-born Lord said,
“So be it”. On being told thus, the Asura, established in the
kingdom of Daityas, considered it to be immortality itself.
17. He came to the abode of the Slayer of the Tripuras. On
arrival, he saw Viraka stationed at the entrance.
18- Adi assumed the form of a serpent and deceived him.
Unhindered by Viraka, he entered the place near Hara.
19. He forsook the form of the serpent. Deluded in his
mind, the great Asura, in the guise ofUma, wanted to deceive
20-21. He assumed the form of Uma, very exquisite and
unbelievably beautifbl. It was perfect in every hmb and it
contained many signs and symbols of reeogmfor (oM *m
Uma) On account of the delusion of his intellect, he attempt
For that purpose die ^a'ty^^ad kept withm the
vaginal passage some hard adamantine teeth with sharp
22-25. After assuming the form of Uma th »
stationed himself near Hara. On “ ei “f \° "he
was delighted and he embraced him thinking him to be the daughter of the Mountain (due to similarity) in every limb. He
asked him (her), “Oh, your feelings are perfectly genume^You
“ not a fake (i.e. impersonation of the) daughter of the Moun¬
tain o lady of excellent complexion, you have understood my
desire and come here. Separated from you, I feel all the three
worlds a void. You have come back to me in a delighted (mood).
This is but proper.”
On being told thus, the Asura in the guise of Uma concealed
his activities and spoke.
26 “I went away to perform penance at your calling me
‘KdW (black). But I did not have any pleasure in the same.
Therefore, I have come near you.”
27 32 On being told thus, Sankara had some doubt and
he thought thus: ‘The lady of slender body became angry with
me directly. She is steadfast in holy observances^ withou
realizing her desired object, she has came back. What is this?
I am doubtful about it.’ He thought this in secret Then he
thought about the various signs of recognition. He did not see
the scar in the shape of a lotus on the left side, nor the curly
hair over the folded skin. Thereupon the Pinaka-bearing
Lord understood that it was the magical deception of the
Danava. With a slight smile on his face, he fixed the terrible
Rudra missile in his penis and did everything to fulfil the desire
of the Daitya. The Asura cried aloud making (piteous and)
terrible shrieks. He became utterly dead.
Source
Another Version
Another version of the story tells us that Brahma granted him another boon that he can learn warfare under Shiva. Adi started to train under Shiva. However, after a few years he started to trouble the residents of Mount Kailasha. Adi appeared as Parvati in front of Shiva and asked him for one more chance. However Shiva realised this was Adi and killed him with his trishula. Adi begged for forgiveness and Shiva gave him moksha.
https://freeglobaluniversity.blogspot.com/search/label/Moksha