The Goddess Withdraws, and the World Wakes
She releases her hold, Vishnu wakes, the demons are undone by their own boon. Waking is not force; it is the Goddess letting go.
Pleased by Brahma's hymn, the Goddess loosens her hold and Vishnu wakes, not by force but by her release. He battles Madhu and Kaitabha, and the two demons, drunk on their own strength through her lingering delusion, undo themselves by their own rash boon. The tradition reads the whole first victory as one truth: waking is a letting-go, the first freedom, and the enemies of the sleep defeat themselves once you are truly awake.
She Lets Go
The Goddess heard Brahma's hymn, and she was pleased. And so, of her own will, she did the one thing that changes everything. She loosened her hold. The sleep that had folded Vishnu lifted from his eyes. The Goddess as Yoga-nidra rose out of him, and Vishnu woke.

Hold on to how the waking happened, because the whole lesson is here. Vishnu was not shaken awake. Brahma did not find a way to force him up. The demons did not frighten him into rising. He woke because the Goddess, praised and pleased, chose to let go. The waking was not an act of force. It was an act of release. The strongest thing in the scene simply relaxed its grip, and the god came back to himself.
या देवी सर्वभूतेषु चेतनेत्यभिधीयते। नमस्तस्यै नमस्तस्यै नमस्तस्यै नमो नमः॥
yā devī sarva-bhūteṣu cetanety abhidhīyate namas tasyai namas tasyai namas tasyai namo namaḥ
To the Goddess who in all beings is named consciousness itself, salutations to Her, salutations to Her, again and again salutations.
Devi Mahatmyam, Chapter 5 (Ya Devi refrain, the consciousness aspect)
Five Thousand Years

Awake at last, Vishnu turned to face Madhu and Kaitabha. What followed was not quick. The text says the battle lasted five thousand years, the two demons matching the preserver of worlds blow for blow, neither side able to end it. This is worth sitting with. Even fully awake, even a god, does not dispatch excess and attachment in a single stroke. They are old and strong, and the fight is long.
And here the Goddess is at work in a way the demons cannot see. For all their strength, Madhu and Kaitabha are drunk. They are filled with the pride of their own power, swollen with the certainty that no one alive can stand against them. That intoxication, that mada, is not an accident of temperament. It is the Goddess's maya still at work, this time not as sleep but as the delusion that makes the strong overreach. The very power that once held Vishnu down is now quietly undoing his enemies from the inside, and they never feel it happen.