Putting in a big fuse or circuit breaker from the main battery to the starter would have stopped that from happening. You can also run a marine switchable battery unit under the hood, look at any online boat dealer, they're red and can do batt 1, batt 2, or batt 1+2, etc