From what you have stated, the tenancy ended on September 30. You vacated earlier, voluntarily, but the lease continued through that date.