His confused feelings gave me a slight idea that he might save somehow Madara from dying. He is still Uchiha after all.