A worldwide community photographing and learning about wildlife
You should hang this pupa back up. You can tie it with fishing line to a piece of screen in a container and wait for it to emerge! If you leave it down, it might not be able to emerge properly.
Looks like either a pupal or larval Stratiomyidae (Soldier Fly).