Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP)
Aircraft Equipment Problem Less Severe
Flight Crew Landed As Precaution; Flight Crew Returned To Departure Airport; General Flight Cancelled / Delayed
Aircraft
Shortly after rotation; while the First Officer was retracting the gear; we felt a shudder in the right engine. It continued to produce full power; but shortly thereafter started to produce only partial power. I then took over the flight controls and ran through the Engine Failure after Takeoff flow. The right engine regained full power after the aux pump was selected to high. After climbing through 1;100 feet MSL; the First Officer ran through the QRH. We elected not to shut down the engine; as it was still producing power. I elected to set 'single engine cruise'/normal climb power as we flew the regular left traffic pattern back to [departure airport]; as that seemed to produce the most stable power throughout our return to the airport. I then ran the normal In Range and Before Landing flows and checklists. The right engine did start to run rougher on short final; most likely due to the high aux pump setting; but we were able to maintain control and the appropriate approach and landing speeds and land safely. Upon landing rollout; the right engine quit; but we were able to continue a taxi off the runway; then safely to the gate.
[Report narrative contained no additional information.]
C402 flight crew reported returning to departure airport following an engine issue.