s really important to continue that until they release you from the need and at that point, they should give you exercises and stretches to do
on your own. Proper rehabilitation of the knee
really does require this.
So, you are likely recovering still and would guess that this 'giving way' feeling is the result of that. Please confirm with your doctor though. If the sensation of buckling continues, you may have retorn the tendon, unfortunately.