Deductions & credits

Yes, you aren't responsible for what happens to the organization as long as they were qualified at the time.

(In most states, when a tax exempt organization closes, it must transfer any remaining assets to another similar exempt organization anyway.)