Inner
不 supplies the sound for simplified
还 — bù shifted to huán with significant phonetic drift. The simplified form replaced the much more complex traditional
還 (which had
睘 inside, the original phonetic) with just
不 to keep the character writable. The 'not' meaning of
不 is incidental — read here purely for its sound value.