Batteries are pretty important. One thing to be aware of is that it is not a good idea to mix different types/brands/styles or ages of batteries. In other words, you should not replace one battery in a pack.
If your boat is plugged into shore power, and it is on, then your batteries should not be discharged. If the charger is on. There is a huge discussion on what kind of batteries to replace with and reasons for each. The options include:
1. Golf cart batteries (flooded lead acid batteries)
2. AGM (What you have) no maintenance
3. LiFePO4 (Lithium)
Advantages to the Golf Cart batteries is lower initial cost, disadvantage is more maintenance and shorter life.
Advantage to the AGM is no maintenance and longer life than the golf cart batteries. disadvantage is that it is still a lead acid battery
Disadvantage to all lead acid batteries is when charging they bulk charge up to a point (80--90%) then drop down to an absorption charge. Meaning that it may take 1 to 2 hours to get to 85%, then 3 or 4 hours to get to 100%
Advantage to the Lithium is that you get to use more of the rated amp hours of the battery without damage. Lead acid batteries can only be discharged about 50% without damage, Lithium can be safely discharged to 80% (some will say to 100%). If you have 600 ah of AGM batteries, that means you really have 300 ah available, if you replace with Lithium you would only need 400 ah, or 4 batteries to have the same available capacity. Or, if you replaced all 6 batteries with Lithium you would have 480 ah which would be a significant upgrade.
Another advantage is that Lithium batteries are significantly lighter than the lead acid batteries (35 lbs vs 88 lbs each)
Disadvantage to the Lithium is new technology, and higher initial cost.
They are not just "drop in" replacements, all charging sources must be looked at and evaluated for compatibility with Lithium. Solar, wind, battery charger, alternator voltage regulator etc. In my case, my solar (Outback) was able to be adjusted, my alternator voltage regulator (Balmar) was also able to be adjusted, my battery charger needed a $500 firmware update, so I got a new charger/inverter.
My experience with moving to Lithium, has been excellent. We went from 750 ah of Lifeline AGM to 600 ah of Battleborn Lithium. The charge is much faster. I have seen my batteries charging at 80 amps while at 95% charged. As opposed to our old batteries that would have been at 5-10 amps at 95%