There is not a way to bypass the thermocouple on your water heater. Any method that promotes this will be unsafe and could ruin the water heater. If the thermocouple is not working, then you need to replace that part.