Options before the expiration date, whether long or short options, can be closed at any time during trading hours before the expiration date at market prices.