He later published a tract called "Morale in the Army", which created problems with his superiors, so he resigned from the service in 1844 and became a staunch advocate of separating the military from politics.