How to cancel a credit note?

There is Invoice 001 and Credit Note CN001. Now i want to cancel/ adjust this Credit Note., how this has to be handled?

can i generate debit note to cancel/adjust credit note?IF yes what is the reference to be given in the Debit Note? it is to the Credit Note or original Invoice number?

@Ankit.K.Tiwari pls assist.