 Set free in 1797, he returned to Russia and was then settled in Volhynia, where he founded a secret resistance association, aiming at removal of Russian forces occupying most of Poland in the aftermath of the partitions.However, the Russians discovered the plot and Zeydlitz had to flee for Saxony, together with Cyprian Godebski.In Dresden he became one of the associates of Gen. Romuald Giedroyć, who recommended him for service in the Polish Legions in Italy.