When did the Union and Confederate governments stop exchanging prisoners of war?
The exchange system broke down in mid-1863 when the Confederacy refused to treat black prisoners as equal to white prisoners. Before that collapse, most prisoners were swapped relatively quickly between 1861 and 1863.