
Chapter 2
Mahamaya
Vishnu's Yoga Nidra
The sleeping Vishnu
King Suratha had lost his kingdom. The merchant Samadhi had been cast out by his own family. They came to the ashram of the sage Medhas with the same question: why did they remain attached to the very people who had rejected them? Medhas told them the answer was Mahamaya, and then began his first story.
At the end of a cosmic age, when everything was water, Vishnu lay on the coils of the serpent Shesha.
This was no ordinary sleep. It was Yoga Nidra, a divine power that held his eyes, breath and body in its grasp.
A lotus rose from Vishnu's navel. On it sat Brahma, alone in the watery darkness.
Madhu and Kaitabha
Then two demons emerged from the wax of Vishnu's ears: Madhu and Kaitabha, intoxicated by their own strength.
They saw Brahma on the lotus and moved to kill him.
Brahma had no weapon and nowhere to flee. Water stretched below him in every direction, and the only god who could help him was asleep.
Brahma praises Yoga Nidra
Brahma did not try to rouse Vishnu directly. He praised the power that held Vishnu in sleep.
"You are Shri, you are the power of understanding," Brahma said. "You hold up this whole world. You draw even the minds of the wise into confusion."
"Withdraw from Vishnu's body, so that he may wake and fight them."
This is the first hymn in the Devi Mahatmya, and it is addressed not to Vishnu, but to the power holding Vishnu in sleep.
The Goddess comes out
Mahamaya withdrew from Vishnu's eyes, mouth, nostrils, arms and heart, and appeared before Brahma.
Vishnu's eyes opened.
He saw Madhu and Kaitabha beside the lotus and engaged them in battle.
A fatal offer
Vishnu fought the two demons for five thousand years, with neither side prevailing.
Then Mahamaya clouded the demons' judgement. In the pride of their own strength the two said to Vishnu: "You fight well. Ask — whatever you want."
Vishnu said: "Then grant this — that you die at my hands."
Only then did they realise their mistake. But the boon had already been offered.
Where there is no water
The demons were clever. "Very well — but kill us where the ground is not covered by water."
Water covered everything. Vishnu raised his vast thighs above it, laid the demons' heads across them and severed both with his discus.
The Devi Mahatmya ends the episode here. The Devi Bhagavata preserves another version, in which the demons' marrow spreads through the waters and becomes the earth. This, it says, is why the earth is called Medini.
Vishnu supplies the force, but Mahamaya creates the opening that makes victory possible. That is Medhas's point: the power that held Vishnu in sleep is the same power that binds the world in attachment — including Suratha and Samadhi.
Note: This story appears in the first carita of the Devi Mahatmya, within the Markandeya Purana. It is told to Suratha and Samadhi by the sage Medhas as an explanation of Mahamaya. Here Mahamaya resides in Vishnu as Yoga Nidra, and Brahma praises her so that Vishnu can wake and kill Madhu and Kaitabha. The Devi Mahatmya ends the episode with their beheading; the creation of the earth from their marrow belongs to the Devi Bhagavata version. Other Puranas preserve further variations.
Source: from several texts, Mahamaya