I have been doing a lot of cave climbing recently. So I am not talking about your average tourist cave, I talk about real miles deep labyrinth like caves, where nature never thought of humans getting in. To rule-out trivial answers I'd like to sketch the current scenario:
You are with an experienced guide in a cave for about 2h, the guide loses consciousness after an accident and needs immediate medical attention. Since you relied on the guide's expertise, you are uncertain about the route back to an exit. You know that help may arrive in the next 48 hours or so since you may not return in time from your expedition. You have a light source, a compass and a map of the cave. Your light source will pose no immediate issue since you have power for at least the next two days. However, because the guide is in serious trouble and would possibly die in the next few hours (after performing first aid) you decide to try the escape anyway.
What is a good strategy to escape the cave in order to get help for the guide in trouble?
Note: The question is less about the guide in danger, rather about possible strategies to navigate back. "Stay where you are" is a valid answer if you hope for rescue.
A second similar scenario is: You were beamed by an evil villain into a cave unknown to you. You have a light source, a compass and a map of the cave. The cave has an exit. You want to get out.
What else would you need to get out of the cave? How would you plan your escape? How would you try to locate yourself and navigate to an exit?