Self-Oscillating Mode of a Nanoresonator