Everybody has a plan until they get punched in the face.
The problem with most martial arts is that most do not practice “full contact”. They have nice moves, but are not used to taking a hit.
Boxers are trained to take hits and keep fighting.
Boxers get hit in training. I dunno how much they actually spend deliberately getting hit. Dont really have to. They just wind up getting hit a lot.