He continued to support his Russian wife and children, who had moved from Siberia back to live near St. Petersburg. In Pavlovskaya, Baranov took an Aleut woman as mistress and had three mixed-race children with her. After learning that his wife had died in 1807 in Russia, he married his mistress, legitimizing their children. In 1817 Irina, his oldest daughter born in Alaska, married Semyon Yanovsky, a Russian naval officer. Late in 1818, Yanovsky was appointed as Chief Manager and successor to Baranov. That year Baranov departed to sail back to Russia, but he died in April 1819 and was buried at sea.