Following disagreement with his superiors, he resigned from the Military Hospital in Saint Petersburg and took an administrative position with the Ministry of the Interior in Orenburg Governorate in 1833.