After the Piedmontese defeat at Novara (23 March) peace was made, but a rising broke out at Genoa, and Fanti with great difficulty restrained his Lombards from taking part in it. But he was suspected as a Mazzinian and a soldier of fortune by the higher Piedmontese officers, and they insisted on his being courtmartialled for his operations under Ramorino (who had been tried and shot). Although honorably acquitted, he was not employed again until the Crimean expedition of 1855.