How did Benedict Arnold get caught?

Benidict Arnold did not get caught but General George Washington found out by spies o the british that he was a traitor.