After the end of the Russian Civil War, Rokhi became chief of the political department of the 13th Rifle Corps in November 1922. During the suppression of the Basmachi movement, he served as commissar of the 2nd Separate Turkestan Cavalry Brigade from April 1923, and between April and June 1924 as a commissar of the 2nd Turkestan Rifle Division, member of the Revolutionary Military Council of the Fergana Group of Forces of the Turkestan Front, and as commissar of the 11th Gomel Cavalry Division. Rokhi transferred to serve in the same position with the 7th Samara Cavalry Division in June 1924 and in November of that year became commissar of the 5th Rifle Corps.
He became chief of the distribution section of the organizational and distribution department of the Red Army Political Directorate in February 1925, before graduating from Commanders' Improvement Courses (KUVNAS) at the Frunze Military Academy in the following year. Upon graduation, Rokhi was appointed chief of the Military-Political School of the Ukrainian Military District. He transferred to become assistant commander of the 1st Rifle Corps for political affairs in January 1928, and a year later became chief and commissar of the Leningrad Infantry School. He studied at the Frunze Academy between 1930 and 1932 as a member of the first class of the advanced Special Group of the academy.
Upon graduation, Rokhi became commander of the 34th Middle Volga Rifle Division, his final assignment. The division was transferred to the Special Red Banner Far Eastern Army in 1934. He received the rank of Komdiv in 1935 when the Red Army introduced personal ranks, and in 1936 was awarded the Order of Lenin. Just before the Great Purge reached the army, People's Commissar of Defense Kliment Voroshilov wrote a letter to Rokhi on 5 May 1937, admonishing him for lapses in discipline in the division, awaiting "detailed explanations on...how exactly you could allow such disgracefulness and what exactly you will do in the future to avoid a recurrence of such shameful phenomena." In his reply on 7 June, Rokhi stated that "I deserve this punishment...I will do my best to make amends with even more energetic work." Rokhi was arrested on 2 July as a participant in a nonexistent Latvian fascist organization, less than a month later, and was sentenced to death by the Military Collegium of the Supreme Court of the Soviet Union on 9 April 1938, charged with participation in a military conspiracy. Rokhi was shot in Khabarovsk on the same day, being buried there. He was posthumously pardoned on 31 October 1956 as part of de-Stalinization.