This happened to me during my first winter storage. It wasn't flat batteries, and I couldn't put my finger on exactly what caused it. The boatyard reported some electrical storm activity around the time, so that could be related.
Anyway, now I always turn off the breakers when storing the boat and it hasn't happened again! 🤔
SV Stella A54-154