PVT J. B. HUBBARD, Co. H, 25th SC Infantry, was captured at Fort Fisher, NC, on 15 Jan 1865. He was sent to Elmira, NY, and released there on 14 Jul 1865. Source: Kirkland, Randolph W., Jr., DARK HOURS: SOUTH CAROLINA SOLDIERS, SAILORS AND CITIZENS HELD IN U.S. PRISONS 1861–1865, (Charleston, SC: 2002), p. 227.
Hope this helps.