Why does the Jeep Cherokee engine contine to make a whirring noise after it is shut off?

Sounds like the cooling fan doing its work. To protect the engine and cooling system, many fans stay on for a short time after engine switch off.