Question:
what do you do if you are driving in a rural area and you know that you will only arrive after shabbos begins?
Answer:
If the problem is that stopping in a desolate area is dangerous, because of פיקוח נפש one can continue,
Sources:
O”C – 248:4