Here in this video, @6:37 Edd disconnects the battery and then says that, for that Nissan Leaf, it is suggested to wait 10 minutes to perform furhter work for the capacitor of the inverter to discharge:
Still in that video, when he has opened the battery to remove the main contactor @14:25, he...