I play too much damn Stellaris because I would have just invested in a ship with a shield so powerful they can tank a star's blast. Then, using FTL inhibitors, trap everyone in the system and nuke it.
Or a gun pointed at the head of the universe and start removing planets.