An electrical fire due to the lack of a positive locking mechanism for the fuse retainer in the main fuse block, which resulted in voltage fluctuations that caused thermal damage to the avionics cooling fan. Contributing to the incident was the student pilot's inadvertent shutdown of the engine at low altitude.