Enlisted March 1st 1862 in Montevallo, AL.  He was captured when Vicksburg, Mississippi fell in July 1863.  After being paroled he continued to serve until he was wounded during the Atlanta Campaign.  An inspection Report dated September 17th, 1864 shows him as being wounded and taken to the field surgeon on August 31st, 1864.  Based on that date,  and the Confederate Order of Battle, I suspect he was wounded during the Battle of Jonesboro.

https://www.findagrave.com/memorial/19196020/john-marion-deshazo