Taking a trip to the west coast

We'll be switching trains in Sacramento with a 4 hour layover so anything we do will have to be by foot.