PS4 stopped working for a moment

My ps4 quit appearing on my LCD screen. I unplugged HDMI Wires and then put them back into an alternate slot . Begun working once more. It’s making me terrified. Why my PS4 stopped working for some moment ?. This ps4 is just 3 month old.