He spent his last days in his villa in the Forlì countryside, moving to Bologna where he had received a professorial chair. He also devoted himself to collecting historical material connected to his friend Giuseppe Mazzini.
During his last period of residence, he resided in his villa in the Forlì countryside and later moved to Bologna, where he was given a professorship. Additionally, he devoted time to collecting historical documents related to his acquaintance Giuseppe Mazzini.