A surgical system includes a fluid source including a fluid inflow tube, a fluid delivery device coupled to the fluid inflow tube and configured to deliver fluid from the fluid source into a patient, a surgical instrument, and a control box coupled to the surgical instrument. The control box includes one or more waste heat-generating electronic components and a heat pipe assembly disposed in thermal communication with the one or more waste heat-generating electronic components. The fluid inflow tube is disposed in thermal communication with the heat pipe assembly of the control box such that the heat pipe assembly conducts heat away from the one or more waste heat-generating electronic components and heats fluid flowing through the fluid inflow tube.