Original: The attack failed and most of the Japanese troops died, the remaining few only surrendered when the Japanese high command ordered them to do so.
Simplified: However, the attack was unsuccessful, and most people in the Japanese Army died. The few who survived did not stop the attack until they were ordered by the Japanese high command.