I don't think there's concern for damage to an engine by running a fresh motor above 4000 rpm, the danger is if a turbo comes apart at high rpms. If a failure was to happen, better to happen at lower rpm to prevent collateral damage. I suspect the turbo is spinning at over 200,000 rpm by the time the motor is turning 5000 rpm.
Since your motor didn't grenade, you didn't cause any damage.
Since your motor didn't grenade, you didn't cause any damage.