The Qantas aircraft flying from Tonga to Australia was on the approach into Sydney Airport when the pilot was forced to pull up.