Does closing a credit card after 11 months to avoid annual fee affect your credit history adversely? Kind of the wrong place to ask.
Assuming you drop your spending proportionally, ten years from then it does.
Closed accounts' histories remain on your report for ten years. They also keep aging for the average age of accounts calculation that affects your score.
I said assuming you drop your spending proportionally because for constant spending, your credit utilization will go up. But credit utilization of 20% or less (or I've seen others say 10% or less) is all graded the same. I assume most people here aren't using up much of there credit limit.
Furthermore, the credit utilization metric is merely a snapshot in time - the last month's history. It's not an accumulation of your previous credit utilization history. So even if you have high utilization one month, it's no big deal, just drop it next month.