if you just unplug a ups and store it though the battery will be drained in a couple hours. and if left flat for 10 months, any type of lead acid (or any battery really) will be toasted.
and even if you did fully turn off the ups before storing it, you should plug it in every few moths to recharge the battery.... because all batteries drain themselves without load (seald lead acid batteries last longer, but if youre pushing a year your pushing too far).
-----------------------------------------------------------------------------------------
I am the last man on earth to claim any UPS expertise, but I have recently bought two of them, one made by APC, and one made by tripp-lite.
And I note there is a difference in design between the two.
On the Tripp-lite, once you shut down the power, there is no AC power to any of the eight 3 prong outlets, 4 of which are battery and surge protected, and the other 4 are omnly surge protected.
On the APC UPS, using the UPS on off switch only cuts AC power to the four 3 prong outlets that battery and surge protected, but not the four only surge protected ones.
A design I do not like. And unlike the tripp-lite UPS that arrived with the battery connected, the APC model arrived as shipped with only one connected and required the end user to connect the other terminal before use.
Which leads me to speculate, that for 10 month's, not only was our OP's UPS unplugged from wall power, the 4 only surge protected APC outlets had one or more live devices plugged into it that drained the battery dead dead and deader. Which may not have happened with a tripp-lite type design