To seal the annulus around the drillstring, whether deliberately with a tool or accidentally by cuttings bridging.