Every human should know when to walk away and you do know. It is hidden in that small voice that whispers to your good common sense. It is not easy to admit it to ourselves that our time at a place or with a person is done. Most often others see it before we do. We are blinded by our own desires or fears.
Every human should know how to live alone in a place. You do not have to like it, the place or the being alone. Once you master that one skill, it makes living with people you like in a place you like that much sweeter.
You know you are there because you want to be not because you have to be.