Had this issue earlier this year. Here is what I did to fix it, after trying new drivers and all that, just incase anyone else runs into the same problem:
Shut the surface Pro off then started it by holding volume up and power to get into the bios screen. There I tested the pen which worked just fine. Rebooted and the pen works again.