 He returned to the United States in 1903.After duty on the monitors and , he served on torpedo boats until 1907, commanding and .From 1907 until 1910, he served as an instructor in the Department of Mathematics at the Naval Academy, as part of a regular pattern of alternating sea and shore assignments.