Sex offender goes into sea to avoid police