If you exit a boat while you are driving it, the player's hand gets stuck in the rowing state and cannot place blocks, damage mobs, open containers, get back in the boat, or do anything except for walking and breaking. Can be undone via /kill or closing and reopening the world.
Linked issues
duplicates
Comments

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-186085.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki