He would be surprised I guess and try to convince him not to help Madara but overall he will most likely get over it and fight him anyway.