Electrical failure- the alarm goes off without reason on 2005 Volvo S40

A few days ago, I came out of a mall and the flashers were going off. I unlocked the car, thought that I mistakenly hit the panic button and proceeded to start it. Then, the flashers started again. The horn started honking and the screen said "crash mode". After that, I turned it off and on again and it flipped from crash mode to "valet mode". Turned it off and on again and proceeded to try to drive home. About a mile in, it stopped on me, went to crash mode and I called triple a.

While parked outside my house, the alarm and flashers started going off again due to no apparent reason. I have since disconnected the battery.

Does anyone know what could be causing this?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Trade car in for a volkswagen ..