In addition to what has been said..

.If hitler had surrendered there would not have been the bombings of Hamburg and Dresden. RAF and air corps initially tried to mimize civilian casualties. They wanted to avoid "terror bombing". But they were losing plane after plane after plane. Something like 1/3 of their planes. Imagine the morale. Because Germany would not give up. Sometimes "fight to the death" gets you..... Death.

Same with japan