MV Enemy goes into cooldown for 3 seconds after player escapes

Hello. I want to add a 3 second cooldown to an enemy after player aborts the battle screen. The enemy won't be able to move and activate battle processing for 3 seconds. How can I do that?
Use a self switch to turn it to a parallel page where it waits 180 frames and then turns off the self switch.
Use a self switch to turn it to a parallel page where it waits 180 frames and then turns off the self switch.
The enemy stops following the player and cannot activate battle processing. However, it also doesn't re-activate itself when I turn the self switch off.
Well show screenshots how you've set up the enemy events then
1.png

Well show screenshots how you've set up the enemy events then
Here
2nd page you need to set it to Parallel.
2nd page you need to set it to Parallel.
Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/enemy-goes-into-cooldown-for-3-seconds-after-player-escapes.176082/