A) other characters could rescue the character. (if you are really stuck on the map and you are RPing getting unstuck, try the GM)
B) the character should get him/her/kraself out, eventually.
C) they starve/die of thirst rather than kill themselves.
If these three things happen and don't work, then a character would be likely to kill themselves.