Having just got out of bed sounds like a jail (7)
I believe the answer is:
uprisen
'sounds like a jail' is the definition.
I can't judge whether this definition defines the answer.
'having just got out of bed' is the wordplay.
'having just' becomes 'up' (I can't explain this - if you can you should believe this answer much more).
'got out of bed' becomes 'risen' ('rise' can be a synonym of 'get out of bed').
'up'+'risen'='UPRISEN'
Can you help me to learn more?
(Other definitions for uprisen that I've seen before include "Standing" , "Airborne" , "lifted" , "(Having) revolted" , "(Having) come up" .)