Wiktionary
jerk the gherkin
vb. (context slang vulgar English) To masturbate.
vb. (context slang vulgar English) To masturbate.