Does a Return of the Token Prices to Their Original Ratio Eliminate the Impermanent Loss?

Yes, if the ratio of the two token prices returns exactly to the ratio that existed at the moment the liquidity was deposited, the impermanent loss is fully eliminated. At this point, the value of the assets held in the pool would be exactly equal to the value of the assets if they had been simply held outside the pool.

This is the reason the loss is called "impermanent" ⎊ it is unrealized and reversible.

What Is the Difference between an Order Book and a Liquidity Pool?
How Is the Holding Period of the Replacement Security Adjusted after a Wash Sale?
How Does the Constant Product Formula (X Y = K) Enforce Price Parity with External Markets?
Does the Absence of an Expiration Date Eliminate All Forms of ‘Roll Risk’?
How Does the Blockchain Verify That the ‘Reveal’ Matches the Original ‘Commitment’?
What Is the Difference between Price-Time Priority and Pro-Rata Order Matching?
Does a Fully Collateralized Futures Market Eliminate the Risk of Socialized Loss?
What Is ‘Impermanent Loss’ in the Context of DeFi Liquidity Pools?

Glossar