The Potsdam Declaration issued the ultimatum to Japan that it

must surrender immediately to Allied forces
submit itself to permanent occupation by Allied forces or face land invasion
begin a negotiation process with the U.S. only
agree to sign a truce by the end of 1945