Is there a way to un-nock an arrow in Minecraft?
Simply choose a different item in your inventory.
Either select another item/tool or fire the arrow into the floor/ceiling/wall near you and pick it up.
Simply scroll with your mouse while still nocking the arrow (holding the mouse button): this will select a different item in your inventory.