The last stop on the railway line north is Udhampur, where you can catch onward buses and hire SUVs/MUVs Tata Sumo / Toyota Innova/ Mahindra Scorpio. However it is better to get down in Jammu and catch a taxi from there as these are more readily available.
The Kashmir Railway is a railway line being built in India to connect the state of Jammu and Kashmir with the rest of the country. The project, officially coded USBRL Udhampur Srinagar Baramulla Railway Link, starts from the city of Udhampur, 55 kilometres 34 mi north of Jammu, and travels for 290 kilometres 180 mi to the city of Baramulla on the northwestern edge of the Kashmir Valley. The route crosses major earthquake zones, and is subjected to extreme temperatures of cold and heat, as well as inhospitable terrain, making it an extremely challenging engineering project.