On June 11, 1864 Pvt. Martin was captured at Louisa Court House during the battle of Trevillian Station. He was sent to Fortress Monroe on June 20 and then transferred to Elmira Prison, N.Y., arriving there on July 25, 1864.
He died at Elmira on September 29, 1864 caused by chronic diarrhea. Pvt. G.W. Martin was listed as having no effects and was buried in grave # 498.