i think the alarm has a internal battery of its own that recharges. just disarm alarm with remote before disconnecting battery shouldnt go off after that
not driving a car much hurts it more than driving it more lol. doesnt hurt to ask to warranty it as a courtesy (even though the chances are low). if it gets rejected just take it to any reputable bmw shop. job isnt hard you can even do it yourself.