Turn the breaker off. Pull the stat out of the junction box. It will have two wires connected to it. (If it is a single pole switch). Plus a ground wire (bare copper or green insulation). Disconnect the two wires and cap them with wire nuts and electric tape. Put the switch back in the junction box if you want to. Then turn the breaker back on. It will be fine.

