Controlled energy extraction and sharp nanosecond pulses from an HF amplifier