We stumbled upon the free entrance to walk the city walls whilst exploring York. Definitely a must, you get an amazing view of the cathedral and there are points along the wall to stop and have a picnic or take some pictures. It was a bit of a sun trap when we visited in May 2023.