I think you handled it well. Nothing more you can do IMO other than explaining you have to be gentle and not put things up there.

A friend of mine DD used to 'ride' the arm of the couch (she was a bit older though) so I guess it's all exploration, which is pretty normal so it seems.