During the Civil War he joined the Confederate States Army and was commissioned a first lieutenant. Ellis was promoted to captain in the Sixteenth Regiment, Louisiana Infantry, and served two years until he was captured at the Battle of Missionary Ridge, Tennessee, about November 25, 1863. He was held as a prisoner of war on Johnson's Island in Lake Erie until the end of the war. While a prisoner, wrote a diary entitled "A Retrospect".