Sleeping wedged in or propped up

I know parrotfish in the Caribbean will secrete a mucus membrane around themselves as they sleep on the bottom of the reef overnight. The mucus balloon’s job is to control the spread of molecules that signal the fish is there so it’s less likely a nighttime predator will be able to find it.