You can access the nodes using force.nodes() and iterate to set the fixed attribute to false.
force.nodes().forEach(function(d) { d.fixed = false; });
and then update the graph. I forked your example here and added a double click listener that restart the force layout. Regards,