Well, wait and see if it comes back. If it does, sounds like the O2 sensor is suspect. Don't think the long spell without driving and flat battery would be the cause. My car gets driven infrequently, and have had a flatish battery several times, but never any codes as a result.