Thanks Greg for that info. My only other idea would be a 4x4 block . Like what they use around here when they can't cope a corner.Using a smaller crown would looked a whole lot better. This way you would go right over the header continuously and run the legs up to it... Or take the end off and put a separate piece on top and and make a miter in the corner, this way it will hide the track and you can remove it if doors need to come out. Not to mention that crown is to big for that room anyway if the closet header only a few inches down from the ceiling plane. I assume this is a basement.
You're talking about a 45 deg return, right?One other option that would look better (and I'm surprised nobody mentioned it) is to fade the molding into the wall / trim. Almost anything is better than leaving that at hard 90 degrees.
Yes, the crown is too big, but it really shows up here because it runs into the door trim. I don't see a decent way of fixing it other than defining a logical space for it to be ending on, and cut it back. Maybe do a little built-in in the previous stud bay, something... Paint schemes can help to make an early termination make sense, as well.