Goodbye means never seeing each other again, so I say thank you instead of goodbye. Don't be surprised to say something like "no". I usually turn my head and say thank you, and then leave a very sullen back, leaving you at a loss.
Who said goodbye and never saw each other again? The person who said goodbye has a tacit understanding not to show up again. Finally it faded away behind the heavy memory and was not mentioned.