For me, it varies depending on the situation. By default, I make major thoroughfares between cites, towns, etc. (explicitly, the roads do not have a random encounter region tag) not have any random encounters, even if I'm using an on-map encounter system. If there is a battle on a road, it's because it's explicitly a battle you need to get through to continue, a beef gate, as it were.
When it comes to actual combat, I prefer to allow them to escape whenever they want, unless it's a boss. Though, allowing a character to escape an unexpected boss long enough to heal could be something I'd allow, or if the player is expected to acquire a specific item to overcome a specific attack, or encounter said boss elsewhere.
(Something I would potentially use as an example, even though it's not strictly 'standard' in the way RPG Maker does it, would be the first boss for Dark Souls 1. You could fight the first boss and kill it without escaping, and doing so will net you a useful early-game weapon, however, escaping to get better equipment and having the potential to deal massive damage to the boss in the return to the fight is the suggested path.)
Ultimately, to me, combat is not the most important part of a game. It exists more as a means to guide the player along a set 'path', but it should also not be used as an explicit way to railroad a character, and escape for the bulk of combat is as much a valid tactic as cleaving your way through enemies. To this end, having a skill with a high, or even 100% chance, to escape is preferable, or a limited supply of 100% chance escape items, such as a smoke bomb, or monster bait.
As stated before in this thread, having enemies have a condition or chance to escape is also a valid tactic, and if your battle system factors in enemy speed, level, etc. into how escapes work, you can essentially make it so you force enough enemies out of combat to make escape easier.
As a last note, I would like to say that how the Mother series handles combat is rather nice. Enemies are drawn to you, you can attempt to escape, and the on-field enemy will flash for a bit, stunned, before chasing you. What I particularly liked was how enemy positions can influence how combat starts. If you meet an enemy face-on, neither side has advantage. If an enemy reaches you from behind, they have first strike, and if you manage to get behind them, you have first attack, or you can escape without trouble. And, if your level is high enough, enemies will flat-out run away from you, and you will likely instantly win the battle, along with its spoils, or at least start the battle with the first attack.
Though not an escape attempt, it does offer an incentive for the player to choose not to use the 100% escape skill provided there is one.