If you want to cut off the fire's oxygen source, you can close the doors, vent, and air inlets, but don't shut the damper. The chimney fire can spread to your roof if you don't hose down it.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.