Salt water is corrosive, so if the electronics haven’t been cleaned off then it’s very likely they’ll have issues in future.
If it’s misbehaving then either it has had some form of leak too (possibly via the cable), or the cable itself is corroding. The best course of action depends on the state of the cable and the components