I think it will be down to the terms of service and the agreement you signed that you agreed to give 30 days or a months written notice to terminate the service, this will be irrespective of whether the contract is still in force or not.(but usually you're not allowed to cancel within the contract)
It will be under the cancellation terms in your agreement, had you given this written notice on 7th Sept then it would have coincided with the same date the contract ended 7th Oct.