CEC stopped working

Try unplugging the TV and Pi from the wall, let sit 5 minuted then replug TV and then Pi after TV is started and switched to correct input