to feel obligated to
He felt obligated to help after what happened.
—Why did you accept the invitation? —I felt obligated to go.
Do not feel obligated to stay if you do not want to.