Loosing a battle resets trainer positions after they are defeated! I see no consequence to loosing battles, I've only seen rewards for loosing!if you get stuck out of bounds try using a mons map ability like sweet scent(usually triggers a battle, tho not always so save often), and loosing that battle puts you back at home or a mon center! Hope this helps!