In 1866 because his involvement with Garibaldi the Austrian authorities forced him to leave. He moved to Milan along with other political refugees. His exile lasted a few months, after which he returned to Vicenza where he was appointed Provveditorato agli studi and became a Deputy, although again only for a few months.