It would depend on the motherboard in question, some have a setting for thermal management to control the CPU fan if it deems it cool enough.
It would usually restart the fan before the machine complained about the temp rising over an emergency threshold and sounding an alarm, however.