How can I delete a credit note with a refund?

How can I delete a credit note with a refund?

How can I delete a credit note with a refund? when I try to delete the credit note, it says that the credit note has a refund but I didnt found the option to delete that refund.