Pilots are trained to shut outer air vents to prevent water from seeping in and aim for calm waters. They will do their best to keep the plane parallel to the waves and try to land tail down for a smoother landing. This is also to prevent the plane from breaking apart and ensure it will float.