He taught briefly in two New England boys' boarding schools. In 1856 he published "Bertha's Christmas Vision", a book of short stories and poems. He returned to the Harvard Divinity School in 1857, and graduated in 1860. His health was poor. He was rejected for military service during the American Civil War, but wrote for the Union cause instead. His first boys' book "Frank's Campaign" was published in 1864.