*thinks about response*
*agrees with self*
yep, i think the best answer to this question i can come up with is probably unsuitably simple..
find something to do.
one discipline, one practice, one art or the other. when you can't work on one thing, work on another. it helps to have a few to swap between
like programming and cooking and music i dunno. if you're trapped somewhere where it's impossible to do cooking.. once i passed the time thinking about polyrhythmic time counts in music and getting used to that.. it doesn't make a big difference at the time, tho a few years later i find myself saying "wow, i'm glad i had that practice getting familiar with polyrhythms."
being able to switch your point of focus productively is a good way of dealing (or improving the way you deal) with overwhelming feelings.