Since you found it under the seat, two things come to mind; engine cut-off, PTO cut-off. If you don't have an electric PTO, scratch that one. But if the engine doesn't shut off when you get off the seat, it probably used to be hooked up to a switch in the bottom seat cushion
//greg//