Our other sites:

How to remove a detachable battery

Shop for Cordless Impact Drivers

How a detachable battery is removed will vary depending on the make and model of your cordless impact driver. One method is shown below:
Release the speed control trigger on a cordless impact driver

Step 1 – Release trigger

Release the speed control trigger and allow the cordless impact driver to come to a complete stop.

Press battery release button on a cordless impact driver

Step 2 – Press clip

Press the yellow clip on the front of the tool’s battery.

Remove the battery from a cordless drill driver

Step 3 – Remove battery

Slide the battery out of the tool’s handle.

Wonkee Donkee says "To reattach the battery, simply push it gently back into the tool’s handle until it clicks into place. "