I believe he deserted the Confederate Army (help me out here, list members!), which is recounted in "A Private History of a Campaign That Failed." Beth Regish Smithsonian Institution