Batteries seem to be malfunctioning.

So I made this submarine and its pretty much complete, except for one thing. I have an emergency power mode as well as another mode that uses batteries. The batteries are hooked up to relays which are hooked up to a single relay which leads to a junction box. Pressing a button will turn on all the relays. Now the problem is, when I turn the relays off, the batteries drain power anyway but they don't actually bring it anywhere. This is the last issue before I can submit my submarine.