Congrats on the weight loss. Shin splints come in 4 varieties Posterior Tibial pain, Tibial Periostitis, Comparment Syndrome and Stress fractures. None of these go away in a mater of seconds,minutes or even days. Like someone mentioned it was probable a spasm from the exertion from the previous day.
Best,