On 15 January 1837, the Cortes of Spain legislated her excluded from the Spanish succession, rights belonging to her in descent from her mother, on grounds of her being a rebel along with Don Carlos. Her son Sebastian's rights were similarly excluded, but he was later, in 1859, restored in Spain. Also don Carlos' sons and Teresa's brother Miguel I of Portugal were excluded at the same law. The next year she married again, in 1838, to her brother-in-law, uncle and longtime ally, Infante Carlos of Spain (1788–1855), whom she viewed as the rightful king of Spain; the widower of her sister
Maria Francisca. The second marriage remained childless, but she took care of her stepsons, who were also her nephews and cousins. Following her marriage, her claim as the
Miguelist heir passed to her only son by her first marriage,
Infante Sebastião. They soon left Spain because of unsuccess in the civil war, and never returned. She died in
Trieste on 17 January 1874, having survived her second husband by nineteen years. ==Honours==