Martinez will leave HVRHS at end of year