He died on January 20, 1702, in Reval (Tallinn) due to unpaid debts. Creditors forbade burying the body, and it lay in the crypt of the St. Nicholas Church, remarkably well-preserved. In 1819, Governor-General Paulucci ordered it to be covered with a glass lid and placed on a bier in one of the chapels of the St. Nicholas Church. Without burial, the body lay there for 190 years and became an object of curiosity for travelers. Pyotr Vyazemsky and Anton Delvig saw the mummy. Lenders charged curious visitors a fee, which went towards paying off his debts.