The Queen Adosinda of Asturias was placed in a convent at San Juan de Pravia for the rest of her life.

This was done to prevent her family from obtaining the throne.

Source