You have done the right thing to listen to your body.
I had my first physio visit. Said I was fine to be on one crutch and even no crutch, but not room to room. She has given me two sticks to practise walking with and will be back in 2 weeks. Demanded I build up to 20 repeititions with leg back, leg to side etc. But not only that, wanted them harder i.e. when I stood and slid my leg back to then lift leg off ground. Well last night, I had the leg and buttock spasms ( not painful ) for most of the night.
Needless, to say, I didn’t do any more exercises.