if your sent coins do not get confirmed,they will get cancelled and return to their owners wallet
Who said that?
No one can undo any transactions.
We just can double spend it with high fee and the higher fee's transaction will get confirmations sooner than other transaction. Otherwise the transaction will remain in limbo until gets confirmations.