If he was captured and imprisoned, the Yankees kept good records, and you should be able to find him. Get his Compiled Service Record and see what it says. Broadfoot Publishing is one source; last I checked it was $25.
If he was wounded and hospitalized in the PACS system, there may or may not be a record. Good hunting!