The attack continues. The only time an attack is cancelled via rules is if the target disappears, and the only time a player would disappear from the game is when they lose. Equipping an item won't make a player disappear.
What do you think?