I've had the same question over the entire span of my career. "Giving back" is difficult if we want to apply our skills.
Given your situation, though, you might consider a trip back to school to pick up a teaching certificate. There is a shortage of teachers and I imagine you could leverage a CS degree (I'm assuming that's what you have) and a teaching certificate into a nice job in a high school. I know you don't _need_ a job but, with 3+ months off per year, it wouldn't hurt.