Good job keeping your head on your shoulders in that situation. A lot of people would just freak out and not know what to do.
I can relate I got lost on my first tour ride too. The sad thing was it was in my own county, just not a part I know well.

So you really did a good job more miles than you expected and got up more and bigger hills than you thought you could. Way to go