Retention of carbon dioxide occurs in advanced COPD patients, resulting in carbon dioxide anesthesia, which then affects the central nervous and causes uncontrolled defecating. As long as carbon dioxide is reduced it can improve. Please get support from your local health provider on lowering the carbon dioxide level.