Oh dear, I am a numpty.

The fan was NOT draining the battery. I couldn't start the car because the battery was knackered.

The fan was running because I have a solar sun roof, which powers the fan after the ignition is turned off.

I'm sorry to have bothered you all but thanks for your help.