The moment the battery is disconnected, the rest of the car electronics will drain the cap as if it was the battery. It should discharge in no more than a few seconds, a cap doesn't hold shit.
If the cap was disconnected first, then you may want to discharge it using anything that has a resistance like a light bub or resistor, but there's no big reason to discharge it as it only holds 12v you can't get shocked.
When you reconnect the battery you may want to charge the cap first with a resistor, it *may* damage the cap if it's empty when you connect it since it's going to recharge instantly without a resistor.