To ride shank's mare

to go on foot; to walk.

See also: Shank

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.