Hi Quebec:
Sometimes I'll ask myself how students got disengaged in the first place? Planning for continuous active engagement most often will avoid students drifting off.
But it happens. Change-ups, questioning, real work-related stories that lead back to the topic are a few methods I've used when I need to get all students refocused and on target.
Regards, Barry