Can you cancel a swap after the deposit transaction has been sent
No, you cannot cancel a swap once the deposit transaction has been sent. The moment your coins leave your wallet, the swap is committed to the sequence of operations that will deliver the output to you.