It is better if you know where you are and your surroundings. Then you might not end up in a blind alley while running. Yes, hiding can be a good trick. Running and going to the public place can prevent the attackers for the time being. And you can get out of there.
The way you described every possible option that we have in a situation like this, that's impressive. Thank you so much @stalker.loki for your thought-provoking comment!
I only have been caught once :)