If an earthquake were to occur while you were flying on an airplane, it is unlikely that you would feel any significant shaking. Depending on the magnitude and distance of the earthquake's epicenter from your flight path, you might experience a slight bump or disturbance, but it is generally not a cause for concern. Airplanes are designed to withstand and handle vibrations and turbulence, and the likelihood of structural damage due to an earthquake is minimal. The crew and passengers' safety are prioritized during such events.