Audio input and output are not reversible.
You moved your device to the purposely built input stage.
Not an expert, but your remark doesn’t compute with the parent comment
It's not a mic slot, it's a general analog I/O port with a 3.5mm form factor.
Physically unplugging and moving a speaker to a mic input works, sure, but very few devices can do this switching electronically.