 He was promoted to colonel the following May.In September 1862, he was appointed military governor of Frederick, Maryland and served until his resignation from the Union Army on January 5, 1863 due to poor health.After leaving the army, Allen traveled to California and Nevada before returning East.