You use the item like normal by going into your inventory right clicking it and using it. Your player will then take it into his hands and use it. Once he is performing the action, you just simply click the red X in the inventory and take it out of his hands. This glitch also works by taking the item and setting it onto the ground while using it.