Deep discharge over winter is the most common culprit here, and the good news is it might not mean your battery is dead for good. Lithium-ion batteries in modern bikes can usually recover from sitting, but lead-acid ones (which your CB500F probably has) get sulphated faster in the cold. Before you assume it needs replacing, pull it out and give it a proper charge with a real charger set to the right voltage - not just a trickle charger. Depending on how depleted it is, even a basic charger can bring it back to life if you give it 12-24 hours on low amp setting.
That said, there's a catch worth checking. If your bike has sat three months without a tender, something might be slowly draining it even while parked - faulty charging system from last season, a parasitic draw from the alarm or clock, or corrosion on the battery terminals creating resistance. Once you charge it up, see if it holds that charge over a week or two. If it drops again without the bike running, then you've got a drain problem beyond just winter storage.
If the charger brings the voltage up and the bike starts and runs fine, your battery probably just needs a proper charge cycle to stabilize. If it won't take a charge at all or dies again immediately after starting, then yeah, replacement time. Most riders don't bother with deep discharge recovery anyway - a new battery for that bike is cheap enough.