If I had to leave the cockpit on the ground (never in flight) because of a passenger, it was to eject them from the airplane. By the time the story got to me through the gate agent or F/A...the story was already told.
The only time I didn't throw them off, I regretted it later.