Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13
[Tested in singleplayer only]
If the player dies before picking a trident, it cannot be picked up later. If the trident has loyalty, upon the player's death, it will turn into an item regardless of position or state.
Closing and reopening the world allows the trident to be picked up again.