The Allies won because the sea invasion of Port Moresby was stopped. This meant that supply lines between the U.S. and Australia were protected. Although pulling "Yorktown" away from the Coral Sea was like giving the sea area to the Japanese, the Japanese stopped their invasion plans.