Wait on the food for a while to take less damage. Then a rope will come down and you can interact with it to escape.