Why did it take her 3 months to give up? The whole idea itself is flawed, "get close to him to avoid punishment" instead of "not do the thing that would get me punished since it's stupid to do it anyway". But then, the first time he behaved rudely that should have been her cue to stop visitting.