Deductions & credits

If custodian sent you rmoney back and earnings were zero. you can ignore this on your tax return.

It is as if it never happened.

There is nothing to do. (you will get a 1099-R next year which also can be ignored.)

@macrocephalia