When you have for example a shovel in your hand, and you want to open or close a door while switching to another item in your hotbar, your current melee weapon will get stuck in your hands. You can still use it for both fighting and crafting but can't take any other item into your hands until you relog.
I tried everything to get the item unstuck but the only thing that seemed to work was a relog.