Has anyone taken a brake master cylinder off?

There's a pipe on the bottom of the brake reservoir, I think it's the clutch hydraulic system feed

Anyway, it seems to be pressed on to the bottom of the BMC reservoir, and I need to remove it to remove the BMC. Is it just a case of pulling it off, does it screw off, or is there some other mechanism to release it please?

Thanks