When the coaches are at half court, I get them back in their boxes using the old, "Unfortunately coach, I know you're coaching, but our scorers and timers can't see through you so would you please go back to your coaching box?? Thank you."
Works every time