On Maximum Energy of Mechanical Systems Under Shock Disturbances