Look. I pulled the battery in my e60 545 and drove about 45 min round trip to an AutoZone parts store to check battery. Ended up buying a new one. I had absolutely no issues with my car starting after battery replacement. It may have erased some engine/trans adaptation settings, but after a week of daily driving to work it was all back to normal. I wouldn't worry about pulling the battery cable off. I would leave it off for about 30-60 minutes. Then put it back on and see what you get on the display. I started having all kinds of weird errors on the iDrive display, related to electrical sensors, etc. I have heard that BMW shuts down certain systems if there isn't enough power in your battery.
How old is your battery? Perhaps you might want to take battery out and find a mechanic or auto parts store to check the health of the battery. My battery completely died overnight about 3 months ago and I got stranded until wife could come home with the 2nd car. New battery fixed everything and I haven't had any electrical issues since. If you get another battery, don't forget to have a dealer/mechanic register the new battery to the car's computer. It really is important that you do this or alternator will not function as designed and possibly die and/or kill the battery prematurely.
Good Luck.