Transcript for Surfer who was swimming just feet away from a great white shark shares his story
This is the last thing a surfer wants to see. The telltale fin of a shark just feet away. Now that surfer and the photographer who snapped the picture are describing what it was like to see the shark in the waters off cape cod and rob is here with that story. Good morning, rob. Good morning. Can you imagine you're out there surfing or swimming and you see this, a dorsal fin of a great white a few feet away from you. Well, this man on this surfboard said he didn't want to panic but he had to act fast. I thought this little seal was popping up. I turn around and it wasly the head of the shark. Take a look at this close encounter. A great white shark. It was pure shock. You see it literally the moment where I recognize what's going on and my only response is to lift my feet out of the water and drop my jaw. Reporter: Devon Zimmerman was catching waves when he notices something lurking in the water. I don't want to splash too much. Joe mault, the man behind the camera recalls the nerve-racking scene. It was definitely tense, it felt tense and he very calmly turned around and paddled back in. Reporter: After that close call, town officials warning beachgoers to remain vigilant. But mault is not the only photographer to catch a rare sighting. Photographer Mike Lemery catching what he calls a lucky photo of a great white leaping out of the ocean. The shark just jumps right out of the water. Its whole body, everything comes out of the water and I snap and I click as many shots as I can as fast as I can and it's over in like two seconds. Reporter: These sightings come a year after 26-year-old Arthur Medici was killed by a shark. The first deadly attack on the tape in 80 years. As for Zimmerman he's grateful he was able to swim to shore with a photo remember. I look more like an offering on a platter than I do anything else so I'm just really thankful that, you know, ended up going the way it did rather than me being a snack. I bet you are. Zimmerman had only been in the water about two minutes when he saw the fin. His wife who is happy he is alive telling our Boston ABC affiliate WCVB seeing the photo made her sick to her stomach. Wow. And he's never surfing again. Or she said, honey, we're going to need a bigger surfboard. We always make this point, it's important to make this point. They attack very rarely. Yes. They don't want to eat you. And I don't want to be next to them. This is where sharks hang out. We all know that area. That's where we do the shark so maybe not go surfing there. That's why I snowboard instead of a surfboard. The shredding of the gnar is better than the shredding of the leg. That's why I'm also
This transcript has been automatically generated and may not be 100% accurate.