There may be some additional interesting information found in his pension applicaton papers, also available through these boards, see:
William H. Shepherd, Company D, 15th Regiment Kentucky Infantry, filed for Invalid Class Pension October 11, 1886 and March 1907, Application No. 587,013, Certificate No. 467,771, his widow filed for Widow Class pension, Application No. 897,094, Certificate No. 654,587
T289: Organization Index to Pension Files of Veterans Who Served Between 1861 and 1900.
NARA