What you saw was a BSOD (blue screen of death), it's usually not a good sign when it appears, but you shouldn't really worry too much about it if it's the first time you've come across it, it's basically a system crash, it's your pc's go-to when it encounters a fatal error.
You should've...