It sounds like a jarring dream, but a camera caught it all on video.

A Massachusetts man was poked awake from his poolside nap by a black bear on Saturday.

Dawn Bete’s Ring camera recorded video of the bear quietly making its way through her backyard as her husband Matt was asleep on a lounge chair. The bear dips its snout in the water before sniffing its way toward the sleeping man.

FISHERMAN SEES 10-FOOT GREAT WHITE SHARK 2 DAYS IN A ROW OFF CAPE COD

The video then shows the bear reaching out and touching Matt Bete’s foot with its paw. When he wakes and sits up in his seat, the bear appears to get scared and runs off.

“Matt was just so startled, picked up his phone with no luck of a good picture,” Dawn Bete wrote on Facebook.

The napping man was unaware of the bear until it nudged his foot. (Dawn Bete via Facebook)

MARYLAND FISHERMAN BREAKS STATE RECORD FOR FISH SPECIES HE COULDN’T EVEN IDENTIFY

Then the bear appears to approach Matt Bete again as he holds up his phone, the video shows.

“He wasn’t sure how he should react but knew he couldn’t get up that fast but at least he had another chair and table between them if needed,” Dawn Bete wrote. “Luckily, it went running out soon after the encounter.”

The black bear population in Massachusetts has been rising, according to Mass Audubon.

CLICK HERE TO GET THE FOX NEWS APP

The animals eat many different foods including berries, nuts, fruits, insects, frogs, snakes and fish, according to the wildlife group. The bears can grow to weigh as much as 500 pounds.

Black bears also eat trash, and they can be attracted to areas populated by humans by garbage, bird feeders and outdoor pet food, Mass Audubon noted.

CLICK HERE TO SIGN UP FOR OUR LIFESTYLE NEWSLETTER