How does it taste/smell? doesnt matter. If it tastes bad and smells bad bottle or keg it anyway. It may turn out fine. If its tastes bad later, consider it a learning experience.
In my opinion (and based on my opinion-not knowing the recipe, additional information), I'd bottle/keg and see what happens even if it tastes and/or smells bad. You just never know.
The key is getting the beer away from the bacteria as soon as possible and if possible. If infection is suspected bottle or keg immediately with this style.
Something happened though that likely stopped or slowed fermentation. At least if bjcp guidelines are the standard.
What was the recipe?