Unhappy Consciousness was for Hegel a transitioning state of the mind that could last forever depending on our will to relinquish the pride of our ego to keep questioning and doubting everything.
Kierkergaard was the embodiment of Hegel's Unhappy Consciousness. In fact, with such term Hegel found the right mental diagnosis for Kierkergaard's anguish.
The highest state of self-consciousness is not reached by the smart and self-affirming relentless doubting of our mind. Kierkergaard got exhausted out of it. That is why he turned to religion while Hegel mocked religion in the most elegant and undetected way.
Kierkergaard was a relentless pessimist in all matters concerning Logic, but he was a seriously confused optimist in all matters concerning faith.
Hegel was a relentless optimist in all matters concerning Logic, but he was a humorously hidden pessimist in all matters concerning faith.