Aborting/cancelling a transfer transaction
You can't cancel a transaction even if your node has not yet synced. Your transaction is immediately broadcast to the network.

If the tx is still in the mempool, you send the coins to yourself with a higher fee... and pray.