During this illness
Joshua Ben-Nun, his closest follower, who had accompanied Vital on nearly every journey, managed to bribe Vital's younger brother, Moshe, with 50 gold coins to lend him Vital's writings, which were kept locked in a box. Moshe accordingly brought Joshua a large part of the manuscripts, and 100 copyists were immediately engaged and given 6 pages each: in just three days, they reproduced 600 pages. Although according to some reports Vital, upon learning of this, claimed that the papers which has been copied were not his writings, they were rapidly disseminated. The writings in question purported to contain the teachings of Luria rather than Vital's independent work. The first printed edition was in eight volumes, known as the
''Shemonah She'arim, and some Kabbalists still use this version in the
Sephardi world. The best-known recension was published later under the title
Etz Hayyim ("Tree of Life"), in which the topics were arranged in a more systematic order, and the parts on ritual (the Peri Etz Hayyim'') were kept separate from the parts on the underlying theology. In addition to a tribute to Luria, the work contains the assertion that it is one of God's greatest pleasures to witness the promotion of the teaching of the Kabbalah since this alone can assure the coming of the
Messiah. However, Vital still highly esteemed the teachings of his former teacher, kabbalist Moses Cordovero. He maintained that Cordovero often appeared to him in dreams. One of Vital's most prominent opponents was
Menahem Lonzano, who publicly denounced him in his work
Imrei Emet. ==Later life and death==