Deductions & credits

probably won't matter. the penalty is on the lower of the excess contribution or the Fair Market Value of the HSA on 12/31/2022. if it is closed and you did not establish a new one the FMV will be $0.