Place it as the closing beat of a rescue or favour sequence, after the action peaks and before any celebration. Follow it with clapping to turn the thank-you into applause, and lead into it with a tense moment that makes the ending land.