Upon returning from exile after the February Revolution, A. V. Shotman became a member of the Tomsk Committee of the RSDLP (b), and then was sent to Finland. From June of 197, a member of the Petrograd district committee of the RSDLP (b), a delegate to the VI Party Congress of the RSDLP (b) , and was a member of the Provisional Council of the Russian Republic. Shotman was elected as a deputy of the Constituent Assembly from the Petrograd provincial electoral district according to list No. 2 ( RSDLP (b) ). After the July Days, the Central Committee of the Party maintained contact with V.I.Lenin and Grigory Zinoviev, who were in Razliv, organized Lenin's transfer to Helsingforsin August 1917. He took part in an enlarged meeting of the Central Committee of the RSDLP (b) on  October 6 (29), 1917 in Udelnaya, which confirmed the party's course towards an armed uprising.