During the raid on Harpers Ferry Anderson was stationed with Albert Hazlett, and once it became apparent to them that the raid was a failure they both retreated to Pennsylvania. Hazlett was later captured and hanged.