in 1945, kazakevich returned to the border troops and became deputy chief of the black sea border district. on 10 december, he was awarded a second order of lenin. in 1946 he transferred to the same position in the moldovan border district. in september 1948 kazakevich became commander of the district at chișinău. on 11 october 1949, he was awarded the order of the red banner of labour. on 24 november 1950, kazakevich was awarded his fourth order of the red banner for 30 years of service. he was awarded a fifth order of the red banner on 14 february 1951. he graduated from the all-union correspondence institute of law in 1952. in april 1954 he transferred to command the southwestern border district in lviv. between 1954 and 1958 he was a deputy of the supreme soviet of the soviet union at its 4th convocation. from october 1955 to october 1957, he was chief advisor to the east german border troops. on 15 july 1957, he was promoted to lieutenant general. in october 1957 he returned to the soviet union and became chief of the military educational institutions of the border troops. in october 1959, he retired and worked in the intourist directorate. he lived in moscow and received the order of the october revolution on 6 december 1982. on 6 april 1985, he was awarded the order of the patriotic war 1st class on the 40th anniversary of the end of world war ii. kazakevich died on 28 november 1988 and was buried at the mitino cemetery.