Hit the road doesn't just mean to leave, nor does it necessarily mean you are actually on a road. The origin of the term is from horses hitting the road with their hooves. And technically, just walking would be "hitting the road" since you'd be stamping your feet against it. The same for a car with it's tire. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.