 After recovering from the wound suffered at the Battle of Selma, Long was assigned to command the Military District of New Jersey.Long retired from the U.S. Army with the full rank of major general, USA, on August 16, 1867.He then lived in Plainfield, New Jersey, earning a living as a lawyer and borough recorder.