@b82REZ
How you tried booting into safe mode?
Assuming you havent, unplug your ps5, power and hdmi. Wait for a 30 secs to a minute. Then plug them back in. Next up press and hold the power button on the ps5 until you hear a second beep. At this point you should see a safe menu pop up. If you get to this point, you can try changing you resolution to force to the tv to detect it again.
Failing this, there is an issue with samsung tvs where the hdmi doesnt see devices unless they are plugged in in a set order. Older samsung anyway and might be the same with some other tvs. What you wanna do here, is unplug all your hdmi cables. Unplug the tv and leave it for a minute. Then plug you ps5 hdmi in and nothing else. Then plug your tv power back in and see what you get. Best of luck, mate.