In CTRA you are allowed to return to the pits but you must have sufficient control over your damage not to be a liability for other people who are racing, so basically, provided you dont flaff up anyones elses race because you are constantly spinning or sitting like a solid brick wall on the racing line around a blind bend because you cant move more, then you are allowed to return to the pits, otherwise you may be penalised in order to encourage you not to act with such disregard for other racers.