"Expectations are like fine pottery. The harder we hold them, the more likely they are to crack."
~Brandon Sanderson~
The only thing to do, at such a realization point, is to acknowledge that we had an expectation, unbeknownst though it may have been to us, and to let it go. And then, we need to accept the situation as it actually is, and find the good in it. Anything less is guaranteed resentment, and none of us needs that.
When I realize that I have unmet expectations, I release them to the wind. My wanting things to be other than they are doesn't change the facts.