Purrcious don't know the design intent of this feature and why you can RANDOMLY get caught after battles. Purrcious knows you can pay the ransom but that makes this even more absurd because it hurts the newbies more than the veteran players who have lots of gold stashed.
Ransom is set partially based on the amount of gold you have, so if you happened to have 10000 gold on hand, you would have had a huge ransom to pay too.