One verse

Srimad Bhagavatam 8.12.35

8.12.35

स्कन्ने रेतसि सोऽपश्यदात्मानं देवमायया । जडीकृतं नृपश्रेष्ठ सन्न्यवर्तत कश्मलात् ॥ ३५ ॥

skanne retasi so ’pasyad atmanam deva-mayaya jadikrtam nrpa-srestha sannyavartata kasmalat

skanne
when fully discharged
retasi
the semen
sah
Lord Siva
apasyat
saw
atmanam
his own self
deva-mayaya
by the maya of the Supreme Personality of Godhead
jadikrtam
had become victimized as a fool
nrpa-srestha
O best of kings (Maharaja Pariksit)
sannyavartata
restrained himself further
kasmalat
from illusion.

O Maharaja Pariksit, best of kings, when Lord Siva had fully discharged semen, he could see how he himself had been victimized by the illusion created by the Supreme Personality of Godhead. Thus he restrained himself from any further maya.