The club confirmed the news in a brief statement this afternoon.
A new football secretary will need to be appointed as National League rules require that every club has one but the position could be combined with another job.
Former chairman Jon Hale has tweeted:
'Shocked and extremely sad to see Martin go. Massive and integral part of the club from the start. Cannot fathom his departure in all honesty.'