Spade connector popped out -Help Please

Was this an ac car? I had a blue one that went to ac compressor