BAR HARBOR — President Obama and the first family said goodbye to Maine on Sunday after an energetic weekend vacation long the Atlantic coast.

The president, first lady Michelle Obama and daughters Malia and Sasha boarded a small military jet serving as Air Force One and took off from the Hancock County-Bar Harbor Airport for a midday return to the White House.

The Obamas spent much of their time hiking and biking in Acadia National Park. They also played tennis, went boating and enjoyed the food in the resort town of Bar Harbor. From the moment they arrived on Friday, it was clear they were determined to make the most of their time, much of it spent in the park.

The Obamas set the tone right away, motorcading straight from the airport to a park bike trail for an hour of cycling.

What followed was a whirl of outings, as their motorcade crisscrossed Mount Desert Island. They went boating on Frenchman Bay, hiked on a park nature trail, played tennis, hung out at the pool, toured a lighthouse, had lunch and dinner at harborside restaurants and stopped for ice cream.

Even their dog Bo had fun, playfully wrapping up a Coast Guard lighthouse keeper in the leash Sasha, 9, was holding.

But the high point – literally – was their visit to the summit of Cadillac Mountain, listed by park officials as the tallest peak on the Eastern Seaboard.