Conversation so far:
What was John J. Pershing's first job
John J. Pershing reported for active duty on September 30, 1886, and was assigned to Troop L of the 6th U.S. Cavalry.
How did John J. Pershing get into the job in the U.S. cavalry
John J. Pershing was sworn in as a West Point cadet in the fall of 1882. He was selected early for leadership positions.
How long was John J. Pershing with the U.S Cavalry
Between 1887 and 1890, John J.  Pershing served with the 6th Cavalry. Pershing was promoted to first lieutenant and in 1895 took command of a troop of the 10th Cavalry Regiment.

Question: what did he do after that
Self-contained rewrite: what did John J. Pershing do after leaving the U.S. Cavalry