As far as leaving melee, I'd make it painful. I'd also roll withdraw into the dodge action. Like so...
If you use your move to leave base to base contact with an enemy; that enemy gets to make an attack on you with advantage. This does not occur if you are using the Dodge action.