The Empath - S3-E12
Plot hole: Spock calculates that it will take 72 hours for the solar flare to pass, and Kirk orders the Enterprise out of the area. 3 days is a long time to go without food or water, and as the station is deserted as far as they know, there'd be no way to supply themselves, but the Enterprise leaves without a second thought.
Answer: After causing Norman to overload, all of the other androids shut down. The same could be said for the androids on the Enterprise.