I'm sorry that you're going through that. I guess it just depends on what type of job you have too. For me, working through an episode is incredibly difficult and I, admittedly, have a job that is extremely easy to function in.
If I'm in a depressive state I can keep my headphones in all day and not really talk to anyone. I can make frequent bathroom breaks if I feel like I'm about to lose it. And I can go upstairs and sit away from everyone else and write in a diary I keep on my phone. Sometimes though it makes me incredibly nervous, because if I'm having an exceptionally bad time I can't do anything... literally... except sit and stare at my computer screen for days on end. And not do a BIT of work. It's awful, it's literally awful. I also have decent vacation time and can take off a few days here or there if I know a day just isn't going to happen.
If I had any other job (and I've had many other jobs that didn't work out for this very reason) I don't think I COULD work through an episode.

It really just depends on your type of work and severity of the episode. I hope things get better for you soon.
__________________
.age: 34 female .bipolar I .psychosis .panic/anxiety disorder
Seroquel XR 100mg
Labetalol for high blood pressure