Need a bit of advice. Battery has gone completely flat on Jaguar X-Type.?

Disconnected the battery and alarm went off (not horn alarm). How can I stop alarm and change battery without it going off again? The radio in the car is still glowing.
3 answers 3