Yep, walk it out if you can, then you may be able to get some sleep. I think part of that is taking over control of that muscle group from a damaged nerve. YMMV.