From 1946 to 1949 he was in the U.S. Navy , learning Russian at the Language School in Boulder , CO , serving in Washington with Secretary James Forrestal and in China for two and a half years , working with Russian emigre communities in Shanghai , Peking and Manchuria .