TEXT 31
tasyasau padavim rudro
visnor adbhuta-karmanah
pratyapadyata kamena
vairineva vinirjitah
SYNONYMS
tasyaof He who is the Supreme Lord; asauLord Siva; padavimthe place; rudrahLord Siva; visnohof Lord Visnu; adbhuta-karmanahof He who acts very wonderfully; pratyapadyatabegan to follow; kamenaby lusty desire; vairina ivaas if by an enemy; vinirjitahbeing harassed.
TRANSLATION
As if harassed by an enemy in the form of lusty desires, Lord Siva followed the path of Lord Visnu, who acts very wonderfully and who had taken the form of Mohini.
PURPORT
Lord Siva cannot be victimized by maya. Therefore it is to be understood that Lord Siva was being thus harassed by Lord Visnus internal potency. Lord Visnu can perform many wonderful activities through His various potencies.
(Svetasvatara Upanisad 6.8)
The Supreme Lord has various potencies, by which He can act very efficiently. To do anything expertly, He doesnt even need to contemplate. Since Lord Siva was being harassed by the woman, it is to be understood that this was being done not by a woman but by Lord Visnu Himself.

Link to this page: https://prabhupadabooks.com/sb/8/12/31

If you Love Me Distribute My Books -- Srila Prabhupada