On 12 February 1446, Dmitry Shemyaka with Ioann of Mozhaysk and Boris of Tver attacked Moscow. Maria was captured and put into prison. On 16 February 1446, she was sent into exile to Uglich, together with her husband.
After her husband's death she inherited Rostov and Poshekhonye, and some other lands. In 1480, she blessed her son Ivan III of Russia to fight against Khan Ahmed. The fasti mention her as a wise, reasonable woman, and that even as adults, her children sought her advice.
Maria took the veil under the name Marfa in 1482, and died in 1485.[1] At first, she was buried in Starodevichy Convent of the Moscow Kremlin. In 1929, her remains were moved to the Cathedral of the Archangel.
^Мария Ярославна / Назаров В. Д. // Маниковский — Меотида. — М. : Большая российская энциклопедия, 2012. — С. 144—145. — (Большая российская энциклопедия : [в 35 т.] / гл. ред. Ю. С. Осипов ; 2004—2017, т. 19). — ISBN 978-5-85270-353-8.