This is more of a thought experiment than anything, but what happens if a question is closed when there is an active bounty?
The "help" page on closed questions says nothing about bounties, and the "help" page on bounties says nothing about closed questions.
I believe the answer is "nothing interesting happens". Chances are - no new answers can be made, but the bounty can be awarded to any existing answers. The reason I'm asking is because this seems inherently unfair.
Consider an opinion based, but interesting question. Someone may place a bounty on the question because they want more publicity to gather more interesting answers. However, the publicity may result in such a question being closed because it goes against some official question guidelines. This seems unfair on the question-asker, as one of the motivations for placing bounties is to increase the likelihood of getting good answers, and it is unfair on people who might like to answer the question because it's closed now.
What I said can easily be refuted by saying "just don't place bounties on questions that might be closed". Either way I'm interested to know whether I'm correct in my understanding of "what will happen if a question with an active bounty is closed", or if something else happens.