Tach pickup
On our 2005 H41, the tach gets its reading from the alternator. I have no idea if it's the same on your H31, but assuming you have a Yanmar engine, I'd guess the same. When our alternator failed last year, the tach read zero while motoring. Why your tach would peg, I don't know, but thought I'd share the little bit of knowledge I had.