I had an ear training teacher who would play a bunch of random atonal notes on the piano between exercises to "reset" our ears. Only works for relative ears.
Similarly I (relative pitch) retain the key of a piece I practice. But if someone plays a random sequence of pitches it pretty easily makes me lose my anchor or at least make it lose focus by a semitone or three.
Whereas the "real" perfect pitch people are always anchored, no matter how much noise anyone throws at them. Which is also a source of discomfort and difficulty, for example when they need to transpose or work with a different A4 than their "internal" learned one. Where us relative normies would just shrug and accept the new A4.