An upstate judge has barred the Cabot Oil & Gas Corp. from seeking natural gas under a residential subdivision in Sullivan County, and also barred the company from recovering the $99,255 signing bonus it paid to a homeowner for the rights to explore and drill under his property.

Supreme Court Justice James P. Gilpatric, sitting in Sullivan County, permanently enjoined Cabot from “exploring, drilling, producing and marketing oil, and natural gas and other hydrocarbons” from the premises and also said the company should have known that a restrictive covenant would preclude the agreement it reached with the property owner.