"The Metamorphosis" optimistic and/or pessimistic?

In what ways is the conclusion of "The Metamorphosis" optimistic and/or pessimistic?