Never would happen.
But as a what if? Well then it happens and that'll be it. Nothing much that could happen afterwards. The heroes would be dead and anyone else would be far too weak to take on Madara/Kayuga/Shinju if they could even get out of the genjutsu.