Off-duty pilot tried to shut down plane’s engines in flight: airline