Yes, she should exit uk before almost 6 months stay.Even just go to france or italy it could do, then back uk again.Coz those places is not under uk.She can apply schenzen visa in uk going to those places a s long as hier/his visa still valid at least 3 mos remaining time of uk visa .