 He also managed to produce numerous sketches of the war.While engaged in the defense of the , near Porta San Pancrazio, he was stabbed with several bayonets and seriously wounded while leading a charge.After a long recovery, he was able to return to Milan under the protection of Count Giulio Litta, a composer and avid art collector.