With square-off you just close your original position.
so originally, if were buyer, then close the RIGHT that u gained with buying an option.
If originally, you sold and option (i.e. you were writer then where selling without owning it), with squareoff, you can close your OBLIGATION that was created by option writing.
Hope it is clear.
Happy Trading