Cooking sherry or any cooking wine for that matter is already bad by design when you buy it: Only the worst wines that can't be legally sold as sherry or drinking wine are used to make cooking wine as a way to still make big bucks on these defective products that would be used for vinegar otherwise.
Cooking wines have salt and a bunch of other flavorings or chemicals and whatnot added, but that does not prevent them from spoiling. It probably has to do more with the fact that cooking sherry is the least fruity sherry, and is therefore less likely to keep for long, although this can be prevented by adding more sugar if it is sherry.
It does not turn "bad" though, it just turns into vinegar and after it is fully turned into vinegar in a few months, it can be used in French dressing, to deglaze fried onions or gravy, to marinate meat, etc.
It will still be a low quality vinegar, because garbage in, garbage out and that sort of things, but not a total waste.
Sherry vinegar is a much sought after product. Quality sherry vinegars sell between $15 and $30 a bottle, depending on their age and origin (search for Banyuls vinegar for instance.)
Yes, cooking sherry can go bad over time if not stored properly. It can lose its flavor and quality due to oxidation and exposure to light and heat. It is recommended to use cooking sherry within a year of opening for the best taste.
Sherry Newstead goes by Punchy.
Sherry Hudak goes by Hudy.
Sherry Winters goes by The Yum Yum Girl.
Sherry will keep in unopened bottles for many years, but it will not improve with age. Once you open your bottle you should consume it within a few weeks. If you are in a warm climate, or it's summer time keep it in the fridge.
Sherry Britton went by The Great Britton, and Stripeasaurus Sex.
Your best bet is to go to the wine and/or liquor store and get real sherry (wine fortified with brandy). Avoid the grocery store stuff labelled "cooking sherry".
Meenakshi Sheshadri goes by Sherry.
Sherin Adel goes by Sherry.
Shahryar Niazi goes by Sherry.
Miles Middough went by Sherry.
Marisa King goes by Sherry.