An event or sequences of events, other than a marine casualty, a very serious marine casualty or a serious marine casualty, which has occurred directly in connection with the operation of a ship that endangered, or if not corrected would endanger the safety of a ship, its occupants or any other person or the environment.