 Shepard joined the Liverpool Regiment as Second lieutenant on 25 February 1893.He was promoted to lieutenant on 20 September 1895 and to captain on 21 March 1900, when he left for South Africa to serve in the Second Boer War.He served with Mounted infantry from March 1900 until 1902, returning home after the end of the war in June that year.