Assuming you didn't apply the credit against any invoices, enter a Payables adjustment against the credit. When you get to the part where it asks for a GL account, use the same account you used when you entered the miscellaneous cash receipt.
If you applied the credit again an invoice, then enter a debit note instead and select the invoice to which the credit was applied.
Steve