„gleichsam“ is used after „sein“ or as an adverb, not before a noun, so it has no endings.
We’ll mark it as soon as you’re back. It’s free.