During his term in office, he established a shipyard and a nautical school, which would continue for a century. Upon Elizaveta Petrovna's ascension to the throne in 1741, she was told that the associate of her father was still living on the shores of the Pacific. The old man was recalled to St Petersburg and reinstated as its police chief. Having been restituted in his comital title and invested with the Order of St. Alexander Nevsky, Vieira died in 1745.