It should come off with a deep socket and a some good leverage via a solid ratchet etc. A really good idea here is to get it out fully and clean those connections with a wire brush etc, wire connectors , stud , nuts and all to be sure you've solid grounds and do the same to the starter solenoid...