The dialogue and events used in the scene where Mosby and his men capture Gen. Stoughton are based on an historic incident that occurred in Fairfax Court House, Virginia on March 9, 1863, as was Abraham Lincoln's comment on the incident read by a Union officer at the end of the episode.
This program is also known as "Prisoner Exchange".