You can verify this by putting a 22mm gate valve on the hot water pipe after it leaves the cylinder (make sure it is AFTER the vent). Switch gate valve to off and see if this solves problem.
There is a service valve attached on the inlet pipe to the shower pump. This is on the hot water pipe you refer to and I have shut this but the overflow continues.