When American didn’t fool around...
“1780: Maj. Gen. Benedict Arnold learns that British spy Maj. John André has been captured, along with the evidence that would expose Arnold’s secret plot to turn West Point over to the British. He flees to the nearby sloop HMS Vulture, which carries him to New York. Gen. George Washington suggests a prisoner exchange: André for Arnold, but Gen. Henry Clinton refused. André is hanged and Arnold is commissioned as a brigadier general.”
There is an old movie THE SCARLET COAT that deals with this. I don’t know how accurate it is but it is an enjoyable movie.