This was Gilmore’s first reelection bid since he defeated Ocean County Sheriff Michael G. Mastronardy four years ago, in a comeback bid as chairman.