This requires you to return to the capital ship hangar with less than 5% hull integrity. I got this in a ranked match so can't confirm that it's possible to do in a vs. AI game.
This is easy to get at the beginning of a game through a combination of flying through the capital ship's engine wash and crashing into the hull. Once you are below 5% just fly into the hangar. You should be able to get this done quick enough that you won't impact the match.