Hancock resigns after covid guideline breach