If it still shows on your app as “pending”, then yes, you can cancel the transfer. If it now shows in your “history”, that means the guest you’ve sent it to has accepted the ticket and you can’t cancel the transfer.
If the guest doesn’t accept the ticket within 24 hours, it’ll be returned to your account.