I went through a period like that, I wish my manager had put some boundary (even admittedly artificial) around how long it would be, that it was going to be OK, and help me set some soft goal for that time. It would’ve made the exact same activities feel dramatically nicer.