After traveling almost any distance in a boat, attempting to get out will cause the player to glitch in the air and not be able to physically move. The player is often still able to look around, and sometimes the issue resolves itself after a few seconds or a minute. Sometimes it does not.
Thank you for your report!
We're actually already tracking this issue in MC-136367, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.