Player cannot leave the swimming animation underwater
How to reproduce
Go underwater, and go into Swim mode, then let go of the controls. You'll see you're stuck in swim mode.
In Addition
When Stuck in Swim mode, when looking up or down without touching the controls, you automatically go up or down.
Side Notes
In my opinion this could also be useful in some cases, you can just literally float there and look around, and it looks cool, but its also annoying...