After leaving a boat, while it is still moving, pressing RMB or any other key bound to the "Use Item/Place Block" function will have no response.
Re-binding keys doesn't solve the issue, the only solution seems to be quitting and re-joining the world/server.
Thank you for your report!
We're tracking this issue in MC-186085, so this ticket is being resolved and linked 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 in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki