NEVER EVER EVER REMOVE THE BATTERY CABLE WHILE RUNNING!
Though it will check.. it is INCREDIBLY DANGEROUS (FATAL!) and can RUIN your car's entire electrical system.
Do you have ANY IDEA the voltage and amperage running through there when running?
NEVER do that again!
PLEASE!