The 1907 Hague Convention IV and the Geneva Conventions prohibit harming enemies who have surrendered or are unarmed. Once a combatant has clearly expressed their intention to surrender, they are considered hors de combat and are protected from attack.
He was both unarmed and trying to surrender.