The Royal Navy officer of the day takes the visiting army officer's pistol, cocks it (with his finger on the trigger, and the weapon pointing at the soldier), lets the slide go forward, and only then removes the magazine. He returns the pistol, which is now loaded and ready to fire.