Cold feed through hot side of water heater?
It's because of a check valve on a shower diverter. when the check valve(s) get stuck open water can mix through with the valve off. 

The check valves are behind the big red arrow in this picture


http://mtpundit.com