How to get account back

Yesterday I was playing my world on Minecraft then I decided to play the Minecraft servers I like this one and that is called lifeboat. Game that I play is prison I left to play it I couldn’t I was signed out I also clicked the 30 day free trial for the realm