If it tastes bad, then I guess it's ruined.
I assume that either the airlock went dry, or the cider wasn't topped up in the carboy all the way to the bung. Oxygen will ruin cider, and headspace allows aceterobacter and other bacteria or mold to take hold.
Broken Leg Brewery
Giving beer a leg to stand on since 2006