In 1866, he commanded the ill-fated Fenian invasion of Canada, after which he was arrested for breaking neutrality laws between the United States and Britain, but was soon released. He was reinstated with his former rank of major later that year, and retired from the Regular Army in May 1870 as a brigadier general.