Obstruction of the common bile duct by a detached piece of liver