How do I get out of Walking Mode?

Google Maps randomly puts me in walking mode where all I see are dots instead of a line on the route. For the life of me I cannot figure out how to change back to driving mode. Also, how do I prevent Google Maps from ever putting me in Walking Mode?

Any help would be appreciated!

Thanks!