In 1906 he emigrated to Switzerland and lived in Geneva, where he met with Vladimir Lenin. In August 1907, Semashko served as a delegate from the Geneva Bolshevik organization at the International Socialist Congress of the Second International. The Swiss police arrested him after , convicted in the case of the 1907 Tiflis expropriation, sent him a letter from prison.