The fierce fighting on Okinawa is said to have played a part in President Truman's decision to use the atomic bomb and to forsake an invasion of Japan. When the Japanese surrendered, a flotilla of 374 ships entered Tokyo Bay to witness the ceremony conducted on the battleship . By the end of the war the US Navy had over 1200 warships, surpassing the size of the Royal Navy.