But for battery replacement rather than an in-service disconnect you want to disconnect the grounded terminal first. That way there is no shorting hazard when you put your tools on the positive terminal connection to remove it.
Sent from my XT1585 using Tapatalk