Depression Support Group
Depression is a real and debilitating condition that is often misunderstood by family and friends. Its meaning can range from a prolonged period of sadness to an actual mental illness with specific symptoms. Find and share experiences with others who are going through the same struggles.
Because you never finished a project because you were ill I would not consider that as a failure.
If the stress is so bad that it makes you function below par it might be a good thing to take a break either by stepping to the side for this project.
Talk to your Doctor get their advice you could get sick time that will stop you from being demoted and use the time to get well or better at least.
The confusion that we find in our head usaully is our body giving us a message to
let us know something is really wrong so listen to your gut instinct and get advice from a professional before it drives you to far.