Narrative:

Engine surge (repeatedly) followed by loss of power (right engine). Determination was made that engine power was insufficient. Due to low altitude and proximity to airport; decision was made to shut down and secure engine per engine inoperative after takeoff procedures. ATC was notified and a return for landing was accomplished.

Google
 

Original NASA ASRS Text

Title: C402 pilot reported loss of power in right engine.

Narrative: Engine surge (repeatedly) followed by loss of power (right engine). Determination was made that engine power was insufficient. Due to low altitude and proximity to airport; decision was made to shut down and secure engine per engine inoperative after takeoff procedures. ATC was notified and a return for landing was accomplished.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.