The worst of the storm had passed by Tuesday, but about a quarter million customers in Massachusetts were still without electricity.