 The palace was greatly damaged and its treasures were plundered.After the recapture of the city of Vilnius in 1660–1661, the palace was no longer a suitable state residence, and stood abandoned for about 150 years.In the late 18th century, after the fall of the Polish–Lithuanian Commonwealth, several families lived in parts of the ruined palace.