Best ways to stay in shape after knee surgery?

Depends. If you mean from a cardio standpoint it depends what kind of knee surgery you had. You should be asking your orthoedic surgeon this question as he/she may want to be restricting your activity. They may not want you running if you have some wear and tear issues in your knee.