How long does a cooling fan stay on for before kicking back off?

I've noticed that my 2005 ford mustang cooling fans stay on for a long period of time but they turn off when i shut off the car why is this happening i really didn't notice it till now

Fans are supposed to stay on when the dash temperature is above 200 degrees F.