WASD keys bug out underwater after long play
Not sure if this is your issue, but sometimes a directional key will get stuck (as if you are holding it in despite not pressing it). A fix to try would be to PRESS the key that seems stuck. So if you are running forward uncontrollably, tap W and it should stop.
Come back if you have the issue still or let us know if that fixes it next time it happens.