Despite Mary's explanations, Joseph was bent on bowing out of a situation that didn't conform with his plan until HEAVEN INTERVENED.
There is only so much an individual can do to restore a broken relationship or win back a loved one except heaven intervenes. In the words of Paula White "whatever is for you, no power from hell can take from you". No need crying over spilt milk. It might hurt for a while but trust that "in all things God works for the good of those who love Him, who have been called according to His purpose" Romans 8:28.
In the wake of personal challenges instead of wasting over energy situations you can't help concentrate on restoring order back into your life. Eat well, exercise, pray, meditate on the word of God, in short get your groove you back on. If that person is for you, he'll coming running and if not, you are better off without them. "they went out from us, but they did not really belong to us. For if they had belonged to us they would have remained with us but their going showed that none of then belonged to us" 1 John 2:9