to flee: to run from danger, whether to escape it or to reach safety
This is the ordinary Hebrew word for taking flight. At its core it pictures someone in motion away from a threat, and the danger is what drives the whole picture: an army breaking and running, a person fleeing a pursuer, a guilty man bolting from a tempting situation. Most of its uses report the rout of an army or the escape of an individual under attack.
The same word also names the hopeful side of flight. When the danger is behind you, the verb describes running toward refuge, and the law gives it a fixed home in the cities of refuge: a person who kills someone accidentally "flees" to one of those towns and is safe there. The motion is identical; what changes is whether the writer is looking at what is being escaped or at the safety being reached.
Finally the word is used figuratively for things that slip away and disappear. Shadows flee as the sun moves, sorrow and sighing flee away when God restores his people, the sea flees back at his rebuke. In every case the underlying image is the same fast, decisive departure, simply transferred from a fugitive to a thing that vanishes.