The general principle behind liver cancer surgery is to treat and eliminate cancer from the liver. Therefore, the surgery is not likely to be effective for patients at advanced stages of liver cancer. This is mainly because liver cancer can spread out to other tissues of the liver, in addition to other organs, which can make liver surgery challenging in such cases.