Yes, you can sell your interest in a QOF at any time (subject to the entity's operating agreement.) Sale of a QOF prior to Dec. 31, 2026 is one of the enumerated "inclusion events" and will trigger the recognition of your deferred gain on your current-year tax return. In addition to the recognition of the previously deferred gain, you would also be subject to tax on any increase in the value of your QOF investment.