If you're in stage 5 and got the key with chain, you probably defeated Masked orc and can escape the stage from east northern side of the map?
The goddess statue fulls your health and removes any kind of status effects including restraints.
thanks for the response, is it just the area with two ladders that ends the game? so theres nothing to do with the chained key?