# Cura: How to prevent my 3D printer from auto cooling after prints

Is there a setting or G-code, to prevent Ultimaker Cura from setting the nozzle and build plate temperatures to 0? I have looked and have not found anything in the printer beginning/ending G-code, print settings, etc...

Would this have something to do with it?

• Cura will skip emitting the heat-up gcode at the beginning if your custom start gcode contains variable expansions for temperature, but I don't know if there's anything comparable for end gcode. This is actually really annoying. You might need a postprocessing script to fix it. Nov 19 '20 at 1:36
• Playing with the settings, I can keep the build plate hot, but the hotend still gets reset. Nov 19 '20 at 4:57
• It is a fire hazard to not turn off the hotend after the print. Nov 20 '20 at 15:03

In CuraEngine's FffGcodeWriter::finalize method, G-code to zero the bed and enclosure temperature is only written if the machine profile defines a heated bed/enclosure, so you could in theory avoid the cooldown by telling Cura your machine doesn't and putting the heatup commands in your custom start gcode instead of letting Cura emit them itself. However it unconditionally zeros all of the hotend temperatures, and does this after emitting your custom end G-code, so you can't even turn the hotend back on from there. The only way to undo Cura's insistence on turning it off is with some sort of postprocessing.