Tropical Storm Imelda is moving away from the U.S. coast, leaving rough surf and rip currents in its wake before it heads toward Bermuda.