Pye served in the Office of the Chief of Naval Operations in 1919-1921, and was Executive Officer of the battleship in 1922-1923.
Promoted to the rank of Rear Admiral, Pye served as Chief of Staff to Commander Scouting Force, attended the Naval War College, had further Navy Department service, and was Commander Destroyers in both the Scouting Force and Battle Force of the Pacific Fleet.