When a mob is engaged by NPCs, you can run around it and attack it from behind. Even if it appears to turn toward you, it may still be attacking an NPC; keep an eye on your combat. In this case, you should switch your attack stance from normal (sword) to agressive (axe). This way, you will earn fighting skill for aggressive without much risk.
3) Fence gates and gatehouses are great too, if they will open for you. You can go in, and whatever is chasing you (usually) can't.