VENTURA, Calif. — A humpback whale that made a big splash with boaters after wandering into a Southern California harbor was on the move again Sunday after finding its way back to the open ocean.

Authorities may have helped it on its way by playing a continuous loop of humpback whale feeding sounds overnight near the harbor’s entrance-exit point.

The idea was to draw the whale toward the open water under the belief there would be something good to eat.

The 40-foot-long creature had wowed boaters and passers-by on shore for hours Saturday after it arrived in the small fishing harbor north of Los Angeles.

Pacific Eagle Air Cam captured video of the young whale’s adventure in the harbor.

Whale experts said it appeared to be a healthy juvenile.

The Coast Guard, National Parks Service, authorities and volunteers spent hours trying unsuccessfully to shepherd it back to the ocean.

After blocking its path with boats and banging on pipes failed to work, they tried the whale feeding sounds. The tactic finally succeeded after they cleared everyone out of the area and moved the underwater speakers closer to the ocean.

Authorities discovered the whale had left on its own when they returned in the morning.The Associated Press contributed to this report.