Whether it hits or misses, the weapon flies back to you at the end of the current turn, landing in your open hand or at your feet in your space (as you choose).