 Once again, he would be seriously wounded at the Battle of Shiloh, and would resign his commission on May 24, 1862.He briefly returned to the Confederate Army as a staff officer, but eventually tired of it.He took an Oath of Allegiance to the Union cause to Union Brigadier General Jeremiah T. Boyle.