After releasing the bomb, Sweeney was forced to divert to Okinawa because of a problem with a fuel transfer pump, and because of the long flight with multiple bomb runs and circling for better weather. There was not even enough fuel left to fly to Iwo Jima. After refueling on Okinawa, the B-29 returned to Tinian. The Japanese Emperor ordered that the government accept the Allied terms of surrender at once. It took time for the full details to be worked out, and there was a very real danger that some elements of the Japanese military would still not accept surrender, and might attempt a military coup d'état, even against their Emperor.