If in fact this is a month-to-month lease, your providing proper notice to terminate the lease should relieve you of further responsibility for the unit. Your landlord does not have to refund your share of any security deposit (assuming you paid one to the landlord) while the other tenants continue with the lease. You're responsible for rent through the date your tenancy terminates.

