What Is the Process Called When a Physically Settled Contract Is Closed before Expiration?

The process is called "offsetting" or "closing out." This involves taking an opposite position to the original trade (e.g. if you bought a contract, you sell an identical one). This action cancels the delivery obligation before the expiration date, allowing the trader to realize their profit or loss in cash.

What Are the Key Differences in Settlement Price Calculation between Physically-Settled and Cash-Settled Futures?
What Is the Difference between a Physically Settled and a Cash-Settled Futures Contract?
Can a Physically-Settled Contract Be Closed out before Expiration?
How Can a Trader Use Delta to Hedge a Futures Position?
What Is the Difference between ‘Opening’ and ‘Closing’ a Position?
Can a Physically-Settled Futures Contract Be Closed out before Expiration?
What Is a ‘Cash-Settled’ Vs. ‘Physically-Settled’ Futures Contract?
How Do the Delivery Mechanisms Differ between Physically Settled and Cash-Settled Futures Contracts?

Glossar