I did the same thing with my one of my son’s guns that was supposedly unloaded. Scary. At least I was outside.
What were you expecting when you intentionally pulled the trigger?