The settlement that happened on October 4th was a quarterly settlement, it is mandatory as per SEBI regulations. Whether you have traded or not, any unused funds in your trading account will be transferred during the quarterly settlement process.
Quarterly settlement is done on the first Friday of each quarter, January, April, July, and October.