Sintra is very close to the ocean. It's basically about 8519 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Colares.
How far is Savannah from the ocean
How far is Rochester, NY from the ocean
How far is Bakersfield from the ocean
How far is San Antonio from the ocean
How far is Big Sur from the ocean
How far is Hyannis from the ocean
How far is Bar Harbor from the ocean
How far is Park City from the ocean
How far is Flagstaff from the ocean
How far is Leipzig from the ocean