Forces loyal to Muammar Gaddhafi’s loyalists shelled a mountain town and clashed with opposition forces in a besieged coastal city today as the Libyan leader sought to quell resistance in the western part of the country that is largely under his control.