Kikyo Gym! Sky Battle!! - S3-E15
Continuity mistake: When Pikachu agrees after Ash says, "Someday, I'll go back and see my old friend," his mouth is open, but in the next shot, it is closed. Also, Brock is to the left of Ash, but in the next shot, he is not. (00:06:32)
Answer: Yes it ran away because Layla hurt its feelings.