During excavating the problem of unloading is a dynamic one essentially. Assuming the unloading ruled by a simple function and based on the Hamilton principal, the distribution of the stress field nearby the tunnel is obtained. The characteristics of the failure nearby the tunnel are analyzed considering the shear failure and tensile failure. The results show that the main mode of the shear failure, intact and tensile failure occurs from the tunnel. The characteristic of the shear failure, intact and tensile failure are one of the likely failure modes.