David Land was "processed" at City Point, Virginia on April 7, 1865, I would think the rest of the men were also. They were probably among the first prisoners arriving at the last Civil War prison. After the Union Army got all the personal info from them, they were transported to NY by rail (or maybe water)? The Union army was supplied at City Point. It was also Grant's headquarters.