Sounds like you may have become hypoglycemic, google hypoglycemia and see if it matches your symptoms. I've had that happen to me while riding my bike as well. I get restricted vision, the shakes and lightheaded and can usually feel it coming on. You don't have to be diabetic for this to happen, depends on how you eat before working out.