The Japanese did not accept defeat.  Their military welcomed the coming invasion as an opportunity to bleed the Allies into accepting a conditional surrender.

Japan rejected all offers of surrender before the atom bombs.  I invite you to cite a surrender tendered by Hirohito before his actual one in reaction to the atom bombs.  There is none but in your imagination.