If by away, you mean logging off, then yes, you stay at that level. If by away, you mean AFK but still logged in with the game running, then you can continue leveling up. If you lose to a boss, then you stay at your level until you click retry boss and beat the boss. Depending on various circumstances, that can happen pretty quickly when you go AFK.