Punishment made him even braver and stronger. No pain, No gain.
If Li Hua is the one who will received the punishment considered it she was dead. It is better for the sixth prince to be punished than seeing her beloved dead because he is dead as well.