An American Airlines passenger was detained in Honololu on Friday after he tried to get into the cockpit during the flight but was subdued by a crew member and another passenger, officials said.