Madara did not die, as we know from obito's story of how he became tobi. From this knowledge there is possibility that madara had learned the same justu that orochimaro uses(every time he's killed, he's alive). Or maybe Madara pretended to be die by placing a illusion on hashi, because if you see right before madara dies, hashi looks into his eyes, and then the next panel shows the moon as if it was an illusion, this shows that madara might have just placed him in a illusion. Madara is more of a smart shinobi, even hashi says that, for him to die from such a tactic is unimaginable. Madara had already known about the red eye moon's plan, so that would mean he knows what he needs to do inorder for him to excute that plan, also madara did not want to destroy the village, he attacked the village because he knew hashi would show up to protect it, because there would be no way that hashi would want to even think about fighting against madara.
Did anyone notice this, but when madara was revived by kabuto he was not in that "old state" as obito had seen him, does that justu not revive the people in the state of how they had died, everyone has been revived the same age as they had died, ex: 3rd hokage .etc... But madara was revived in a younger state. This is puzzleing, because this can be used to show evidence that maybe madara had switched bodies..