How to reset CiviCRM?
I'm not certain what's meant by "component data" here - but in all likelihood the easiest approach is to restore a copy of the civicrm.mysql and civicrm_generated.mysql files in the "sql" directory.  Don't forget to drop your database first, restoring a SQL file won't drop existing tables created, e.g. by generating custom fields.