Put the summary of the bug you're having here
What I expected to happen was...:
Dive under water using shift key
What actually happened was...:
Dive was locked on due to sneak setting and was unable to surface
Steps to Reproduce:
1. set sneak (shift) to lock on
2. ...use sneak to dive underwater
3. ...try to surface.
Relates to MC-163025 (this issue may be intended since it's practically the same as MC-163025)