Japan had no resources to continue the war. The US was the major supplier of oil globally at the time, all they had to do was cut off Japan, which they never did though. The war ended with Hitler's army spread thin and freezing to death in the Russian winter, just like Napoleon's a century earlier.
