When you are reduced to 0 Hit Points and not killed outright, you can drop to 1 Hit Point instead, and you regain a number of Hit Points equal to your Gunslinger level.
Once you use this feature, you can't use it again until you finish a Short or Long Rest.