If you are NOT named on the lease, you are what is called an ‘Approved Occupant’ and as such, you have no responsibility towards the lease agreement.
This means that you can leave at any time.
It is still a good idea to contact your property manager anyway, and advise them confidentially what has happened. Then we can put notes in our file and ensure no personal information is inadvertently handed over to the lease holder.