Fleeing

Fleeing is a mechanic that causes enemies to attempt to run to a random point somewhere away from the player until they reach a certain point, are interrupted, or are unable to reach their selected point and give up. If a fleeing enemy becomes stunned, their fleeing behaviour will be interrupted. There is no fixed duration for fleeing.

monsters have a 50% chance to avoid fleeing for any reason, and and  monsters are immune to fleeing.

Some monsters naturally flee when they are burning. This includes Blood Apes, Humanoids, and Sea Witches.

Modifiers
Corrupted weapons can gain the implicit