You rinse, and throw them in the bushes or on your fire. Not so much where the bear threat is real.
Forgive my ignorance, but I didn't know bears liked coffee....maybe if you left them a mug, they'd be more friendly to you....