Please don't abuse your weapon just to clear a type 4.
Mortaring your weapon is fine for combat clearing because it generally works and requires no tools, but I prefer using a tool like a wooden or plastic chopstick that won't damage the carbine, an empty cartridge casing that's been flattened, a plastic butter knife, or an empty magazine. The magazine clear won't work if you have optics mounted, but I see you don't, so take your carry handle off (for the magazine clearing method).
Pull your charging handle back and use a chop stick that won't damage your weapon to pry the cartridge out, if at all possible.
I can't recommend potentially damaging your carbine to clear a malfunction that you can clear with a tool or by karate chopping your charging handle if you have no tools. The karate chop method may damage the gas tube or it may not. It isn't the chop, but the potential impact of the cartridge into the gas tube that can potentially damage the gas tube. That's why the soft wooden or plastic tools are preferred. Take care to not indent the cartridge's primer with your tool of choice.
Fingering your carbine won't work if you have small fingers. If you have long fingers, you can clear it that way.
You don't need to remove the stock, buffer, or any other part of your rifle.
Bottom line, don't damage your weapon if you don't have to and if you do mortar your weapon, keep the muzzle pointed in a safe direction.
Make sure you check the alignment of your gas tube and gas key when you're done. There should be no nicks or burrs on the key face or tube, the bolt should move freely over the gas tube with no resistance, and function check your weapon after clearing.
Apart from that, do you mind telling us what type of ammo and magazine you were using in your weapon and the round count on the moving parts? Any modifications to the weapon's operating parts (bolt, bolt carrier, barrel extension, barrel)?