Control unit for the wellhead shut-off valve