Motivated depression
A mindset and a state of being when one does not care if they continue but continues to do what is necessary, living each day one at a time in hopes that the fruit of their labor will make up for the struggle and unwillingness in life.
Sean suffers from motivated depression. That's why he still attends school even though he wants to die