I was presuming the F-35C made for the carrier as the nearest deck/runway since the level of reported damage must have given numerous warnings and vibration.
My uncertainty over the F-18 related to whether it diverted in case of a foul deck, a possible unretractable damaged trailing hose (though the pod could have been dropped if necessary) or if there was any damage caused to the aircraft surfaces itself.