All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
Indeed you did well by being patient through the harm of your parents, and for not behaving in a manner which could harm them. This is in fact the behaviour of a Muslim who knows the status and the rights of his parents on him. In this regard please refer to Fatwa 89078.
You should know that as long as the son is able to be obedient to his parents in permissible things, he is obliged to do so. Pleasing the parents is a reason of attaining the Love of Allaah and a means of entering said: "The pleasure of Allaah is attained by pleasing parents, and the wrath of Allaah is ensued by angering parents." [At-Tirmithi] In this regard, please refer to Fatwa 84942.
The son is obliged to obey his parents if they prevent him from living in a separate accommodation and order him to live with them as long as there is no religious reason for him to refuse, like being harmed by living with them, as in such a case, he is permitted to live in a separate accommodation. He should look for an accommodation which is closer to them so that he may visit them frequently and care for them. In all cases, he should try to please them.
Finally, it should be noted that one should supplicate to Allaah to make his parents be pleased with him, and enable him to be kind and dutiful to them. Also, the parents should help their son achieve the means of his happiness and tranquillity and not obstruct him in doing so.
Allaah Knows best.