A method of operating a cooktop appliance includes inputting a temperature measurement and a set temperature into a closed-loop control algorithm. When the output of the closed-loop control algorithm is less than a power level threshold, a first control valve to a gas burner of the cooktop appliance is closed.