The emperor himself had to intervene to move forward with the surrender, so great was the opposition among the general staff.
I understand that much of the change to the Jap constitution that weakened the military to a home defense force is rooted in the militarists take-over of the government leading to the war and the desire to continue it.