Is there a way to keep the shadow but turn off the light in EEVEE render
I think the only way to do this is using passes, in the passes menu you can enable the shadow pass and some others, then compositing them together. Do an initial render, enter the Compostiting workspace, and you'll see the different inputs for different values.