Brad Gilbert and Andre Agassi played 8 ATP matches before Gilbert retired as a tennis player and later became Agassi's coach.
Amelie Mauresmo and Marion Bartoli played 5 WTA matches before Mauresmo retired as a tennis player and later became Bartoli's coach.
I am sure there are more examples like these in the world of tennis, but cannot think of any. Any ideas?