There are essential differences between closing, clearing and shorting stock index futures.
Stock index futures can make profits in both directions. When you open a position, you can go long or short.
Simple explanation: make more money in the stock market and make money by shorting the stock market.
Closing a position is relative to opening a position. In the stock market: buy = open, sell = close, close. Selling the stock index futures you bought is the end point.