general wade hampton had been with general lee on the retreat from gettysburg when word is received that the yankees are moving prisoners of war from the vicinity of pennsylvania to point lookout , maryland .